/* Modern Professional Portfolio - Enhanced Styles with New Animations */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* New Loading Screen Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 80px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto 20px;
}

.loading-spinner .dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite both;
}

.loading-spinner .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-spinner .dot:nth-child(2) {
    animation-delay: -0.16s;
}

.loading-spinner .dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Alternative Dotted Animation Styles */
/* Bouncing Dots Animation */
@keyframes dotBounce {
    0%, 80%, 100% {
        transform: translateY(0) scale(0.8);
        opacity: 0.6;
    }
    40% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

/* Wave Effect Animation */
@keyframes dotWave {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

/* Fade Animation */
@keyframes dotFade {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
    40% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.loading-text {
    font-size: 1.4rem;
    font-weight: 600;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* Animated Particles */
.animated-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    animation: floatParticle 8s linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

:root {
    /* Light Mode Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --border-color: #e2e8f0;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Animation Variables */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Cursor Variables */
    --cursor-x: 0px;
    --cursor-y: 0px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
}

/* Dark Mode Variables */
body.dark {
    --text-primary: #f7fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --bg-tertiary: #4a5568;
    --border-color: #4a5568;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Morphing Background Shapes */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(119, 198, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundFloat 20s ease-in-out infinite;
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 100%);
}

@keyframes backgroundFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 0% 100%);
    }
    25% { 
        transform: translate(30px, -30px) rotate(1deg);
        clip-path: polygon(0% 0%, 90% 10%, 100% 75%, 10% 90%);
    }
    50% { 
        transform: translate(-20px, 20px) rotate(-1deg);
        clip-path: polygon(10% 0%, 100% 15%, 90% 100%, 0% 85%);
    }
    75% { 
        transform: translate(15px, -10px) rotate(0.5deg);
        clip-path: polygon(0% 10%, 85% 0%, 100% 90%, 15% 100%);
    }
}

/* Additional morphing shapes */
body::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 50%;
    z-index: -1;
    animation: morphShape 15s ease-in-out infinite;
    clip-path: circle(50% at 50% 50%);
}

@keyframes morphShape {
    0%, 100% { 
        clip-path: circle(50% at 50% 50%);
        transform: translate(0, 0) scale(1);
    }
    25% { 
        clip-path: ellipse(60% 40% at 50% 50%);
        transform: translate(-50px, 100px) scale(1.2);
    }
    50% { 
        clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
        transform: translate(-100px, 200px) scale(0.8);
    }
    75% { 
        clip-path: ellipse(40% 60% at 50% 50%);
        transform: translate(-25px, 50px) scale(1.1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced Navigation with new animations */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-medium);
    transform: translateY(-100%);
    animation: navSlideDown 0.8s ease 0.5s forwards;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body.dark .navbar {
    background: rgba(26, 32, 44, 0.95);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.98);
    animation: navBounce 0.3s ease;
}

@keyframes navBounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

body.dark .navbar.scrolled {
    background: rgba(26, 32, 44, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu li {
    opacity: 0;
    transform: translateY(-20px);
    animation: navItemSlide 0.6s ease forwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.nav-menu li:nth-child(5) { animation-delay: 0.5s; }
.nav-menu li:nth-child(6) { animation-delay: 0.6s; }

@keyframes navItemSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-medium);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8) rotate(10deg);
    transition: all var(--transition-medium);
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all var(--transition-medium);
    transform: translateX(-50%);
}

.nav-link:hover::before {
    opacity: 0.1;
    transform: scale(1) rotate(0deg);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: #667eea;
    transform: translateY(-2px) scale(1.05);
    text-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    animation: linkPulse 2s ease-in-out infinite;
}

@keyframes linkPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
}

.nav-link.active::before {
    opacity: 0.15;
    transform: scale(1);
}

.theme-toggle {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.7rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-medium);
    font-size: 1rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: var(--primary-gradient);
    color: white;
    transform: rotate(180deg) scale(1.1);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-medium);
    border-radius: 2px;
}

/* Modern Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: heroGrid 30s linear infinite;
}

@keyframes heroGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: heroOverlay 15s ease-in-out infinite alternate;
}

@keyframes heroOverlay {
    0% { opacity: 0.5; transform: translate(0, 0); }
    100% { opacity: 0.8; transform: translate(20px, -20px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: heroContentSlide 1.2s ease-out;
}

@keyframes heroContentSlide {
    0% { 
        opacity: 0; 
        transform: translateX(-100px) scale(0.8);
    }
    60% {
        transform: translateX(10px) scale(1.02);
    }
    100% { 
        opacity: 1; 
        transform: translateX(0) scale(1);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    opacity: 0;
    animation: titleReveal 1.5s ease-out 0.5s forwards;
}

.hero-title.typing {
    overflow: hidden;
    border-right: 3px solid #fbbf24;
    white-space: nowrap;
    animation: titleReveal 1.5s ease-out 0.5s forwards,
               typewriter 4s steps(40) 2s,
               blinkCursor 0.8s infinite 2s;
}

@keyframes titleReveal {
    0% { 
        opacity: 0; 
        transform: translateY(50px) rotateX(90deg);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    0%, 50% { border-color: #fbbf24; }
    51%, 100% { border-color: transparent; }
}

.highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 2px;
    animation: highlightExpand 0.8s ease-out 1.5s both;
}

@keyframes highlightExpand {
    0% { width: 0; }
    100% { width: 100%; }
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

/* Magnetic Cursor Effect */
.magnetic-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.magnetic-cursor.active {
    opacity: 1;
}

.magnetic-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.magnetic-cursor.hover::before {
    width: 60px;
    height: 60px;
    border-color: rgba(102, 126, 234, 0.6);
}

.magnetic-element {
    transition: transform 0.3s ease;
}

.magnetic-element:hover {
    transform: translate(var(--mouse-x, 0), var(--mouse-y, 0));
}

/* Enhanced Button Animations */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-medium);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transform-style: preserve-3d;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    transform: skewX(-20deg);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: translateY(2px) scale(0.98);
}

.btn-primary {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #1a202c;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    transform: translateY(-5px) scale(1.05) rotateX(10deg);
    box-shadow: 
        0 20px 40px rgba(251, 191, 36, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: buttonGlow 0.6s ease;
}

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 20px 40px rgba(251, 191, 36, 0.4); }
    50% { box-shadow: 0 20px 40px rgba(251, 191, 36, 0.6), 0 0 30px rgba(251, 191, 36, 0.4); }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px) scale(1.05) rotateX(10deg);
    box-shadow: 
        0 20px 40px rgba(255, 255, 255, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.5s both;
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

.image-placeholder {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #667eea, #764ba2);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.image-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.9);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Enhanced Section Animations */
section {
    padding: 120px 0;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    animation: sectionReveal 0.8s ease-out forwards;
}

section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes sectionReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-primary);
    position: relative;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(30px);
    animation: titleSlideUp 0.8s ease-out 0.2s forwards;
}

@keyframes titleSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    60% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
    animation: lineExpand 0.8s ease-out 0.8s forwards;
}

@keyframes lineExpand {
    0% { width: 0; }
    100% { width: 60px; }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-gradient);
    border-radius: 1px;
    animation: lineExpand2 0.8s ease-out 1s forwards;
}

@keyframes lineExpand2 {
    0% { width: 0; }
    100% { width: 100px; }
}

/* About Section - Unique Pattern */
.about {
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
}

.stat:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.stat p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
}

.about-image {
    animation: slideInRight 0.8s ease-out;
}

.about-image .image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--secondary-gradient);
    border: none;
    animation: float 8s ease-in-out infinite;
}

.about-image .image-placeholder i {
    font-size: 6rem;
    color: white;
}

/* Skills Section - Tech Pattern */
.skills {
    background: var(--bg-primary);
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, var(--border-color) 1px, transparent 1px),
        linear-gradient(-45deg, var(--border-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.skill-category {
    background: var(--bg-primary);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--success-gradient);
}

.skill-category:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Floating Geometric Elements */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: floatShape 20s linear infinite;
}

.floating-shape:nth-child(1) {
    width: 60px;
    height: 60px;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
}

.floating-shape:nth-child(2) {
    width: 80px;
    height: 80px;
    left: 70%;
    animation-delay: -5s;
    background: linear-gradient(45deg, rgba(240, 147, 251, 0.08), rgba(245, 87, 108, 0.08));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.floating-shape:nth-child(3) {
    width: 40px;
    height: 40px;
    left: 30%;
    animation-delay: -10s;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.08), rgba(0, 242, 254, 0.08));
    border-radius: 0;
    transform: rotate(45deg);
}

@keyframes floatShape {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced Interactive Hover Effects */
.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: 0;
}

.skill-item:hover::before {
    left: 100%;
}

.skill-item:hover::after {
    width: 200px;
    height: 200px;
}

.skill-item:hover {
    background: var(--bg-tertiary);
    transform: translateX(15px) translateY(-5px) rotateY(5deg) scale(1.05);
    border-color: #667eea;
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Skill Progress Bars */
.skill-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 2s ease-in-out;
    border-radius: 0 0 13px 13px;
}

.skill-item.animate .skill-progress {
    width: var(--skill-level, 75%);
}

.skill-percentage {
    position: absolute;
    top: -30px;
    right: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.skill-item:hover .skill-percentage {
    opacity: 1;
    transform: translateY(0);
}

.skill-item i {
    font-size: 2rem;
    color: #667eea;
    transition: all var(--transition-medium);
    min-width: 2rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.skill-item:hover i {
    transform: scale(1.3) rotate(15deg) translateZ(10px);
    color: #5a67d8;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1.3) rotate(15deg) translateZ(10px); }
    50% { transform: scale(1.4) rotate(20deg) translateZ(15px); }
}

.skill-item span {
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-medium);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.skill-item:hover span {
    color: #667eea;
    transform: translateX(5px);
    text-shadow: 0 1px 3px rgba(102, 126, 234, 0.3);
}

/* Projects Section - Portfolio Pattern */
.projects {
    background: var(--bg-secondary);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 119, 198, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(119, 198, 255, 0.03) 0%, transparent 50%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

/* Enhanced Project Card Animations */
.project-card {
    background: var(--bg-primary);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition-slow);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--border-color);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warning-gradient);
    opacity: 0;
    transition: all var(--transition-medium);
    z-index: 1;
    transform: scale(0.8) rotate(10deg);
}

.project-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(102, 126, 234, 0.1) 45deg, transparent 90deg, rgba(139, 92, 246, 0.1) 135deg, transparent 180deg);
    opacity: 0;
    transition: all 0.8s ease;
    animation: cardRotate 4s linear infinite paused;
    z-index: 0;
}

@keyframes cardRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.project-card:hover::before {
    opacity: 0.05;
    transform: scale(1) rotate(0deg);
}

.project-card:hover::after {
    opacity: 1;
    animation-play-state: running;
}

.project-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg) scale(1.03);
    box-shadow: 
        var(--shadow-hover),
        0 30px 60px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-card:hover .project-image {
    transform: scale(1.1) rotateZ(2deg);
}

.project-card:hover .project-content {
    transform: translateZ(20px);
}

.project-card > * {
    position: relative;
    z-index: 2;
    transition: all var(--transition-medium);
}

.project-image {
    height: 220px;
    background: var(--warning-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
}

.project-image .image-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: projectFloat 4s ease-in-out infinite;
}

@keyframes projectFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.project-image .image-placeholder i {
    font-size: 3rem;
    color: white;
}

.project-content {
    padding: 2.5rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.tech-tag {
    background: var(--accent-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform var(--transition-fast);
}

.tech-tag:hover {
    transform: scale(1.1);
}

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:hover {
    color: #5a67d8;
    transform: translateX(5px);
}

/* Education Section - Timeline Pattern */
.education {
    background: var(--bg-primary);
    position: relative;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            var(--border-color) 100px,
            var(--border-color) 101px
        );
    opacity: 0.1;
}

.education-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--success-gradient);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 100px;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.timeline-marker {
    position: absolute;
    left: 28px;
    top: 15px;
    width: 24px;
    height: 24px;
    background: var(--success-gradient);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-content {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 25px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid var(--bg-primary);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content h4 {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-date {
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Section - Modern Pattern */
.contact {
    background: var(--bg-secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(245, 87, 108, 0.05) 0%, transparent 50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    animation: slideInLeft 0.8s ease-out;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all var(--transition-medium);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.contact-item i {
    color: white;
    font-size: 1.3rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.contact-item span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-medium);
    font-size: 1.5rem;
    box-shadow: var(--shadow);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-hover);
}

.contact-form {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    animation: slideInRight 0.8s ease-out;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-medium);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* CTA Band */
.cta-band {
    background: var(--primary-gradient);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="ctaGrid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23ctaGrid)"/></svg>');
    animation: ctaGrid 25s linear infinite;
}

@keyframes ctaGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.footer p {
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-items {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .education-timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    .image-placeholder i {
        font-size: 5rem;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gradient);
}

/* Selection styling */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(102, 126, 234, 0.2);
    color: var(--text-primary);
}

/* Focus states for accessibility */
.btn:focus, .nav-link:focus, .skill-item:focus, .theme-toggle:focus,
.form-group input:focus, .form-group textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}