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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #0a1628;
    min-height: 100vh;
    overflow-x: hidden;
    perspective: 1000px;
}

/* Homepage-specific background */
body.page-home {
    background: #0a1628;
}

/* Homepage section backgrounds */
body.page-home #about,
body.page-home #skills,
body.page-home #projects,
body.page-home #contact,
body.page-home #showcase-3cx {
    background: linear-gradient(135deg, #0a1628 0%, #0d2244 100%);
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}


/* Scroll Progress Indicator */

/* Advanced Particle System */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

.particle {
    position: absolute;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.particle-circle {
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15);
    animation: floatCircle 12s linear infinite;
}

.particle-triangle {
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 5px solid #6366f1;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.3));
    animation: floatTriangle 15s linear infinite;
}

.particle-square {
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15);
    animation: floatSquare 18s linear infinite;
}

@keyframes floatCircle {
    0% { 
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    5% { 
        opacity: 0.8;
        transform: translateY(95vh) translateX(0) rotate(0deg) scale(1);
    }
    50% { 
        transform: translateY(50vh) translateX(100px) rotate(180deg) scale(1.2);
        opacity: 1;
    }
    95% { 
        opacity: 0.8;
        transform: translateY(5vh) translateX(-50px) rotate(360deg) scale(0.8);
    }
    100% { 
        transform: translateY(-10vh) translateX(0) rotate(360deg) scale(0);
        opacity: 0;
    }
}

@keyframes floatTriangle {
    0% { 
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% { 
        opacity: 0.9;
        transform: translateY(90vh) translateX(0) rotate(45deg) scale(1);
    }
    50% { 
        transform: translateY(50vh) translateX(-80px) rotate(225deg) scale(1.5);
        opacity: 1;
    }
    90% { 
        opacity: 0.9;
        transform: translateY(10vh) translateX(60px) rotate(405deg) scale(0.5);
    }
    100% { 
        transform: translateY(-10vh) translateX(0) rotate(450deg) scale(0);
        opacity: 0;
    }
}

@keyframes floatSquare {
    0% { 
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    8% { 
        opacity: 0.7;
        transform: translateY(92vh) translateX(0) rotate(0deg) scale(1);
    }
    50% { 
        transform: translateY(50vh) translateX(120px) rotate(270deg) scale(1.3);
        opacity: 1;
    }
    92% { 
        opacity: 0.7;
        transform: translateY(8vh) translateX(-40px) rotate(540deg) scale(0.6);
    }
    100% { 
        transform: translateY(-10vh) translateX(0) rotate(540deg) scale(0);
        opacity: 0;
    }
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-animate {
    animation: slideDown 0.8s ease-out;
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-hidden {
    transform: translateY(-100%);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo h1 {
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    font-size: 1.8rem;
    font-weight: bold;
}

.logo-animate {
    animation: logoGlow 2s ease-in-out infinite alternate, fadeInLeft 1s ease-out;
}

@keyframes logoGlow {
    from {
        text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    }
    to {
        text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.nav-animate {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.nav-animate li {
    animation: slideInUp 0.6s ease-out both;
}

.nav-animate li:nth-child(1) { animation-delay: 0.1s; }
.nav-animate li:nth-child(2) { animation-delay: 0.2s; }
.nav-animate li:nth-child(3) { animation-delay: 0.3s; }
.nav-animate li:nth-child(4) { animation-delay: 0.4s; }
.nav-animate li:nth-child(5) { animation-delay: 0.5s; }

.nav-links a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.nav-links .login-link {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 25px;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-links .login-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: #ffffff !important;
    text-shadow: none;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
}

/* Advanced Ripple Effects */
.ripple-btn {
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.8) 0%, rgba(99, 102, 241, 0.3) 50%, transparent 100%);
    transform: scale(0);
    animation: advancedRipple 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    will-change: transform, opacity;
}

@keyframes advancedRipple {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(2) rotate(180deg);
        opacity: 0.7;
    }
    100% {
        transform: scale(4) rotate(360deg);
        opacity: 0;
    }
}

/* Advanced Hero Section with 3D Effects */
#hero {
    background: linear-gradient(135deg, #0a1628 0%, #0d2244 50%, #0a1628 100%);
    color: #2d3748;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    perspective: 2000px;
    transform-style: preserve-3d;
}


.shape {
    position: absolute;
    will-change: transform;
    opacity: 0.1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, transparent, #6366f1, transparent);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation: floatShape1 20s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent, #8b5cf6, transparent);
    transform: rotate(45deg);
    top: 60%;
    right: 15%;
    animation: floatShape2 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 40%;
    left: 80%;
    animation: floatShape3 18s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-50px) rotate(90deg) scale(1.1); }
    50% { transform: translateY(-20px) rotate(180deg) scale(0.9); }
    75% { transform: translateY(-80px) rotate(270deg) scale(1.2); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translateX(0) rotate(45deg) scale(1); }
    33% { transform: translateX(30px) rotate(135deg) scale(1.1); }
    66% { transform: translateX(-20px) rotate(225deg) scale(0.8); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-40px) translateX(-30px) rotate(180deg) scale(1.3); }
}

@keyframes pulseGradient {
    0%, 100% {
        background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    }
    33% {
        background: radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.15) 0%, transparent 80%);
    }
    66% {
        background: radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 75%);
    }
}


.hero-animate {
    animation: heroFadeIn 1.5s ease-out;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

/* Advanced Typing Animation */
.typing-animation {
    position: relative;
    display: inline-block;
}

.typing-cursor {
    display: inline-block;
    background: #6366f1;
    width: 3px;
    height: 1.2em;
    margin-left: 2px;
    animation: cursorBlink 1s infinite, cursorGlow 2s ease-in-out infinite alternate;
    vertical-align: text-bottom;
}

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

@keyframes cursorGlow {
    0% { 
        box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15);
        background: #6366f1;
    }
    100% { 
        box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15);
        background: #00ccff;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 1.5s both;
}

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

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

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: #ffffff;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s both;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
}

.pulse-btn {
    animation: pulse 2s infinite, fadeInUp 1s ease-out 2s both;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 40px rgba(99, 102, 241, 0.3);
    }
    100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
}

/* Advanced Reveal Animations */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    will-change: transform;
}

[data-reveal] {
    opacity: 0;
    will-change: transform, opacity;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="fade-in-up"] {
    transform: translateY(60px);
}

[data-reveal="fade-in-left"] {
    transform: translateX(-60px);
}

[data-reveal="fade-in-right"] {
    transform: translateX(60px);
}

[data-reveal="scale-in"] {
    transform: scale(0.8);
}

[data-reveal="rotate-in"] {
    transform: rotate(-10deg) scale(0.9);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1) rotate(0deg);
}

/* Staggered Animations */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    animation: staggerFadeIn 0.6s ease-out forwards;
}

@keyframes staggerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.8rem;
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.2s;
}

.fade-in-section.visible .section-title {
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.4s;
}

.fade-in-section.visible .section-content {
    opacity: 1;
    transform: translateY(0);
}

#about {
    background: linear-gradient(135deg, #ffb6c1 0%, #ffd6e0 100%);
}

#about p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

/* Skills */
#skills {
    background: linear-gradient(135deg, #ffd6e0 0%, #ffb6c1 100%);
}

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

/* Advanced 3D Cards */
.skill-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #333;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.skill-card:hover::before {
    opacity: 1;
}

/* 3D Tilt Effect */
.tilt-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.tilt-3d:hover {
    border-color: #6366f1;
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.3),
        0 0 20px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(99, 102, 241, 0.1);
    transform: translateY(-15px) scale(1.02);
}

/* Project Cards 3D */
.project-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #333;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.project-card:hover {
    border-color: #6366f1;
    box-shadow: 
        0 25px 50px rgba(99, 102, 241, 0.4),
        0 0 30px rgba(99, 102, 241, 0.3);
    transform: translateY(-20px) rotateX(5deg) scale(1.03);
}

/* Advanced Icon Animations */
.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    position: relative;
    display: inline-block;
}

.skill-card:hover .skill-icon {
    transform: translateY(-10px) scale(1.2) rotateY(360deg);
    text-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* Morphing Icons */
.morph-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    display: inline-block;
}

.morph-icon:hover {
    transform: scale(1.2) rotate(10deg);
    text-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

/* Icon Hover Effects */
.contact-item:hover .morph-icon,
.project-link:hover .morph-icon {
    transform: scale(1.3) rotate(15deg);
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.skill-item h3 {
    color: #6366f1;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.skill-item p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.skill-progress {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

/* Advanced Progress Bars */
.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 200% 100%;
    border-radius: 3px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 10px rgba(99, 102, 241, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: progressShimmer 2s ease-in-out infinite;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressGlow 2s ease-in-out infinite;
}

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

@keyframes progressGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Projects */
#projects {
    background: linear-gradient(135deg, #ffb6c1 0%, #ffd6e0 100%);
}

#projects p {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
}

/* Contact */
#contact {
    background: linear-gradient(135deg, #ffd6e0 0%, #ffb6c1 100%);
}

.contact-info {
    text-align: center;
    margin-top: 2rem;
}

/* Advanced Contact Items */
.contact-item {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    transform: translateX(15px) scale(1.02);
    border-color: #6366f1;
    box-shadow: 
        0 5px 20px rgba(99, 102, 241, 0.3),
        inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.contact-item i {
    font-size: 1.3rem;
    min-width: 24px;
    transition: all 0.3s ease;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    }
    to {
        text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.neon-border {
    border: 2px solid #6366f1;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15), inset 0 0 10px #6366f1;
}

/* Login Page Styles */
.login-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 0 20px;
}

.login-form-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
    text-align: center;
    animation: loginFadeInUp 0.6s ease-out;
}

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

.login-form-wrapper h2 {
    color: #6366f1;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.login-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.login-form {
    text-align: left;
}

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

.login-form .form-group label {
    display: block;
    color: #6366f1;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
}

.login-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    color: #2d3748;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 0 10px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.login-form .form-group input::placeholder {
    color: #94a3b8;
}

.login-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.login-button::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 ease;
}

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

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
}

.login-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.form-links {
    text-align: center;
    margin-top: 1.5rem;
}

.form-links a {
    color: #6366f1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-links a:hover {
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    color: #4f46e5;
}

.separator {
    color: #94a3b8;
    margin: 0 10px;
}

.back-link {
    background: rgba(99, 102, 241, 0.1) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

.back-link:hover {
    background: rgba(99, 102, 241, 0.2) !important;
}

/* Message Styles */
.message {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
    animation: loginFadeInUp 0.3s ease-out;
}

.message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

.message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}


.message.info {
    display: block;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #6366f1;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #6366f1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(99, 102, 241, 0.3);
    }
    
    .nav-links.mobile-active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    nav {
        padding: 1rem;
    }
    
    .particle {
        display: none;
    }
    
    .tilt-3d:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .geometric-shapes {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Stats Grid Enhancements */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 15px;
    border: 2px solid rgba(99, 102, 241, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #ffffff, #333);
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.project-link:hover {
    background: #6366f1;
    color: #fff;
    transform: scale(1.1) rotate(10deg);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: #6366f1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: scale(1.05);
}

/* Form Enhancements */

.form-group input,

.form-group input:focus,


.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: #6366f1;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
}

/* Scroll Indicator */

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: #6366f1;
    position: relative;
    margin: 0 auto;
}

.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: 10px solid #6366f1;
}

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

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .particle,
    .geometric-shapes,
    .scroll-indicator {
        display: none;
    }
    
    .tilt-3d:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .skill-card,
    .project-card,
    .contact-item {
        border-width: 3px;
    }
    
    .progress-bar {
        box-shadow: none;
        border: 2px solid #6366f1;
    }
}


@media (max-width: 768px) {
    .login-form-wrapper {
        padding: 2rem;
        margin: 0 10px;
    }
    
    .login-form-wrapper h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .skill-item {
        padding: 1.5rem;
    }
    
    .login-form-wrapper {
        padding: 1.5rem;
    }
    
    .login-form-wrapper h2 {
        font-size: 1.8rem;
    }
}

/* ===== ANIMATIONS SOPHISTIQUÉES AVANCÉES ===== */

/* Curseur personnalisé avec trailing effect */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: cursorPulse 2s infinite;
}

@keyframes cursorPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* Navigation avec glassmorphism */
.nav-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Indicateur de scroll magnétique */
.scroll-progress {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    background-size: 400% 100%;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

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

/* Effet de texte liquide pour le titre */
.liquid-text {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: liquidFlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
}

@keyframes liquidFlow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    }
    25% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    }
    50% { 
        background-position: 50% 100%;
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    }
    75% { 
        background-position: 50% 0%;
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3));
    }
}

/* Particules 3D interactives */
.interactive-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle-3d {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
}

@keyframes float3D {
    0%, 100% { 
        transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
        opacity: 0.7;
    }
    33% { 
        transform: translate3d(20px, -30px, 50px) rotateX(120deg) rotateY(120deg);
        opacity: 1;
    }
    66% { 
        transform: translate3d(-20px, -60px, -30px) rotateX(240deg) rotateY(240deg);
        opacity: 0.8;
    }
}

/* Morphing géométrique des formes */
.morphing-shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 50%;
    animation: morphShape 8s ease-in-out infinite;
    filter: blur(1px);
}

@keyframes morphShape {
    0%, 100% { 
        border-radius: 50%;
        transform: rotate(0deg) scale(1);
    }
    25% { 
        border-radius: 20% 80% 30% 70%;
        transform: rotate(90deg) scale(1.2);
    }
    50% { 
        border-radius: 80% 20% 70% 30%;
        transform: rotate(180deg) scale(0.8);
    }
    75% { 
        border-radius: 30% 70% 20% 80%;
        transform: rotate(270deg) scale(1.1);
    }
}

/* Cards avec effet flip 3D */
.flip-card-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card-3d:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    background: #ffffff;
    backdrop-filter: blur(10px);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
}

/* Animations de compteurs avec easing avancé */
.counter-advanced {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: counterGlow 2s ease-in-out infinite alternate;
}

@keyframes counterGlow {
    from { filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3)); }
    to { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5)); }
}

/* Effets de parallaxe multi-couches */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
}

.parallax-layer-1 { transform: translateZ(-100px) scale(2); }
.parallax-layer-2 { transform: translateZ(-200px) scale(3); }
.parallax-layer-3 { transform: translateZ(-300px) scale(4); }

/* Révélations en cascade avec spring animations */
.cascade-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cascade-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cascade-reveal:nth-child(1) { transition-delay: 0.1s; }
.cascade-reveal:nth-child(2) { transition-delay: 0.2s; }
.cascade-reveal:nth-child(3) { transition-delay: 0.3s; }
.cascade-reveal:nth-child(4) { transition-delay: 0.4s; }

/* Boutons avec animations morphing */
.morph-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.morph-button::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;
}

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

.morph-button:hover {
    transform: translateY(-5px) rotateX(10deg);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

/* Effets de glow et neon */
.neon-glow {
    position: relative;
    color: #2d3748;
    text-shadow: 
        0 0 5px #667eea,
        0 0 10px #667eea,
        0 0 15px #667eea,
        0 0 20px #667eea;
    animation: neonFlicker 2s ease-in-out infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% {
        text-shadow: 
            0 0 5px #667eea,
            0 0 10px #667eea,
            0 0 15px #667eea,
            0 0 20px #667eea;
    }
    50% {
        text-shadow: 
            0 0 2px #667eea,
            0 0 5px #667eea,
            0 0 8px #667eea,
            0 0 12px #667eea;
    }
}

/* Animations de loading sophistiquées */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(99, 102, 241, 0.3);
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    animation: spinAdvanced 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

@keyframes spinAdvanced {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Optimisations GPU */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform, opacity;
}

/* Responsive et reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Améliorations pour mobile */
@media (max-width: 768px) {
    .flip-card-3d:hover .flip-card-inner {
        transform: none;
    }
    
    .flip-card-3d:active .flip-card-inner {
        transform: rotateY(180deg);
    }
    
    .morph-button:hover {
        transform: translateY(-2px);
    }
}


/* ============================================
   3CX SHOWCASE SECTION
   ============================================ */

#showcase-3cx {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
    overflow: hidden;
}

#showcase-3cx::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

#showcase-3cx .section-title {
    text-align: center;
    margin-bottom: 50px;
}

#showcase-3cx .section-title i {
    color: #6366f1;
    margin-right: 10px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 200, 255, 0.5); }
    50% { text-shadow: 0 0 25px rgba(0, 200, 255, 0.9), 0 0 50px rgba(0, 200, 255, 0.3); }
}

.showcase-3cx-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1000px;
}

.showcase-3cx-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.04),
        0 0 40px rgba(0, 200, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.showcase-3cx-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(255, 255, 255, 0.7),
        0 0 60px rgba(0, 200, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 200, 255, 0.2);
}


.showcase-3cx-card:hover .showcase-3cx-image img {
    transform: scale(1.05);
}

.showcase-3cx-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), transparent);
    pointer-events: none;
}

.showcase-3cx-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 200, 255, 0.4);
    animation: badge-float 3s ease-in-out infinite;
}

.showcase-3cx-badge i {
    margin-right: 6px;
    color: #ffd700;
}

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

.showcase-3cx-content {
    padding: 40px;
}

.showcase-3cx-content h3 {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 700;
}

.showcase-3cx-content h3 i {
    color: #6366f1;
    margin-right: 10px;
}

.showcase-3cx-description {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.showcase-3cx-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.showcase-3cx-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.showcase-3cx-features .feature-item:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(5px);
}

.showcase-3cx-features .feature-item i {
    color: #6366f1;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.showcase-3cx-features .feature-item span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

.showcase-3cx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.showcase-3cx-tags .tag {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.15), rgba(138, 43, 226, 0.15));
    color: #6366f1;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 200, 255, 0.2);
    transition: all 0.3s ease;
}

.showcase-3cx-tags .tag:hover {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.3), rgba(138, 43, 226, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 200, 255, 0.2);
}

/* Responsive 3CX Section */
@media (max-width: 768px) {
    #showcase-3cx {
        padding: 60px 0;
    }
    
    .showcase-3cx-image {
        height: 280px;
    }
    
    .showcase-3cx-content {
        padding: 25px;
    }
    
    .showcase-3cx-content h3 {
        font-size: 1.4rem;
    }
    
    .showcase-3cx-features {
        grid-template-columns: 1fr;
    }
    
    .showcase-3cx-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .showcase-3cx-image {
        height: 200px;
    }
    
    .showcase-3cx-badge {
        top: 10px;
        right: 10px;
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}

/* 3CX Image Fallback */
.showcase-3cx-image {
    background: linear-gradient(135deg, #f0f2f5 0%, #e2e8f0 30%, #f8f9fa 60%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-3cx-image img {
    background: linear-gradient(135deg, #f0f2f5, #e2e8f0, #f8f9fa);
}

.showcase-3cx-image img[src]:not([src=""]) {
    background: none;
}

/* ===== STUNNING HERO COVER IMAGE ===== */
.hero-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
    animation: heroZoom 25s ease-in-out infinite alternate, heroShift 40s ease-in-out infinite;
    filter: brightness(0.7) contrast(1.1) saturate(1.2);
    will-change: transform, filter;
}

.hero-cover-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: colorShift 15s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { 
        transform: scale(1) rotate(0deg);
        filter: brightness(1.1) contrast(0.9) saturate(0.8);
    }
    100% { 
        transform: scale(1.15) rotate(0.5deg);
        filter: brightness(1.2) contrast(0.8) saturate(0.9);
    }
}

@keyframes heroShift {
    0%, 100% { background-position: center center; }
    25% { background-position: 60% 40%; }
    50% { background-position: 40% 60%; }
    75% { background-position: 70% 30%; }
}

@keyframes colorShift {
    0%, 100% {
        background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 70% 60%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    }
    50% {
        background: radial-gradient(circle at 70% 30%, rgba(255, 0, 150, 0.12) 0%, transparent 50%),
                    radial-gradient(circle at 30% 70%, rgba(0, 200, 255, 0.18) 0%, transparent 50%);
    }
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 2000px;
    transform-style: preserve-3d;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    will-change: transform;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(248, 249, 250, 0.9) 0%,
        rgba(255, 255, 255, 0.75) 25%,
        rgba(248, 249, 250, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 75%,
        rgba(248, 249, 250, 0.8) 100%);
    z-index: 2;
    animation: gradientFlow 20s ease-in-out infinite;
    backdrop-filter: blur(1px);
}

body.page-home .gradient-overlay {
    background: linear-gradient(135deg,
        rgba(255, 219, 88, 0.75) 0%,
        rgba(230, 192, 65, 0.55) 25%,
        rgba(255, 219, 88, 0.4) 50%,
        rgba(255, 228, 128, 0.3) 75%,
        rgba(255, 219, 88, 0.65) 100%);
}

@keyframes gradientFlow {
    0%, 100% {
        background: linear-gradient(135deg, 
            rgba(248, 249, 250, 0.9) 0%, 
            rgba(255, 255, 255, 0.75) 25%,
            rgba(248, 249, 250, 0.6) 50%,
            rgba(255, 255, 255, 0.4) 75%,
            rgba(248, 249, 250, 0.8) 100%);
    }
    50% {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.85) 0%, 
            rgba(248, 249, 250, 0.7) 25%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(248, 249, 250, 0.35) 75%,
            rgba(255, 255, 255, 0.75) 100%);
    }
}

.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    backdrop-filter: blur(2px);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.04);
    margin: 0 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite, indicatorGlow 3s ease-in-out infinite alternate;
}

@keyframes indicatorGlow {
    0% { filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.9)); }
}

/* Enhanced geometric shapes */
.shape.morphing-shape {
    opacity: 0.15;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shape-1.morphing-shape {
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.2), rgba(138, 43, 226, 0.1));
    animation: floatShape1 20s ease-in-out infinite, morphShape 8s ease-in-out infinite;
}

.shape-2.morphing-shape {
    background: linear-gradient(135deg, rgba(255, 0, 150, 0.15), rgba(0, 200, 255, 0.1));
    animation: floatShape2 25s ease-in-out infinite reverse, morphShape 10s ease-in-out infinite reverse;
}

.shape-3.morphing-shape {
    background: linear-gradient(90deg, rgba(138, 43, 226, 0.2), rgba(99, 102, 241, 0.1));
    animation: floatShape3 18s ease-in-out infinite, morphShape 12s ease-in-out infinite;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-cover-image {
        background-attachment: scroll;
        animation: heroZoom 20s ease-in-out infinite alternate;
    }
    
    .hero-content {
        margin: 0 10px;
        padding: 20px;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.05);
    }
    
    .geometric-shapes {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-cover-image,
    .hero-cover-image::before,
    .gradient-overlay,
    .scroll-indicator {
        animation: none !important;
    }
    
    .hero-cover-image {
        transform: scale(1.05);
        filter: brightness(1.15) contrast(0.9) saturate(0.8);
    }
}

/* ============================================
   THEME SWITCHER - Toggle Button & Modal
   ============================================ */
.theme-toggle-btn {
    background: none;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6366f1;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-toggle-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
    transform: rotate(30deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.theme-toggle-btn i {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.theme-modal {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.theme-modal-overlay.active .theme-modal {
    transform: scale(1) translateY(0);
}
.theme-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
}
.theme-modal-header h3 {
    font-size: 1.3rem;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.theme-modal-header h3 i { color: #6366f1; }
.theme-modal-close {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #718096;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.theme-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: rotate(90deg);
}
.theme-modal-body { padding: 2rem; }
.theme-modal-subtitle {
    color: #718096;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-align: center;
}
.theme-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.theme-option {
    cursor: pointer;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    padding: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}
.theme-option:hover {
    border-color: #6366f1;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}
.theme-option.active {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.theme-preview {
    border-radius: 10px;
    overflow: hidden;
    height: 80px;
    margin-bottom: 0.8rem;
}
.theme-preview-light {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
}
.theme-preview-light .preview-header {
    height: 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
.theme-preview-light .preview-content { padding: 8px; }
.theme-preview-light .preview-line {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-bottom: 6px;
}
.theme-preview-light .preview-line.short { width: 60%; }
.theme-preview-dark {
    background: #1a1a2e;
    border: 1px solid #2d2d44;
}
.theme-preview-dark .preview-header {
    height: 20px;
    background: #16213e;
    border-bottom: 1px solid #2d2d44;
}
.theme-preview-dark .preview-content { padding: 8px; }
.theme-preview-dark .preview-line {
    height: 6px;
    background: #2d2d44;
    border-radius: 3px;
    margin-bottom: 6px;
}
.theme-preview-dark .preview-line.short { width: 60%; }
.theme-preview-system {
    background: linear-gradient(135deg, #f8f9fa 50%, #1a1a2e 50%);
    border: 1px solid #e2e8f0;
}
.theme-preview-system .preview-header {
    height: 20px;
    background: linear-gradient(90deg, #ffffff 50%, #16213e 50%);
    border-bottom: 1px solid #e2e8f0;
}
.theme-preview-system .preview-content { padding: 8px; }
.theme-preview-system .preview-line {
    height: 6px;
    background: linear-gradient(90deg, #e2e8f0 50%, #2d2d44 50%);
    border-radius: 3px;
    margin-bottom: 6px;
}
.theme-preview-system .preview-line.short { width: 60%; }
.theme-option-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}
.theme-option-info i {
    color: #6366f1;
    font-size: 0.85rem;
}

/* ============================================
   DARK MODE STYLES
   ============================================ */
[data-theme="dark"] body,
body.dark-mode {
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
}
[data-theme="dark"] header,
body.dark-mode header {
    background: rgba(15, 15, 26, 0.95);
    border-bottom: 1px solid #2d2d44;
}
[data-theme="dark"] .header-scrolled,
body.dark-mode .header-scrolled {
    background: rgba(15, 15, 26, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .nav-links a,
body.dark-mode .nav-links a {
    color: #cbd5e0;
}
[data-theme="dark"] .nav-links a:hover,
body.dark-mode .nav-links a:hover {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.15);
}
[data-theme="dark"] #hero,
body.dark-mode #hero {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
    color: #e2e8f0;
}
[data-theme="dark"] .section-title,
body.dark-mode .section-title { color: #e2e8f0; }
[data-theme="dark"] .about-text p,
body.dark-mode .about-text p { color: #a0aec0; }
[data-theme="dark"] .skill-card,
body.dark-mode .skill-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid #2d2d44;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .skill-card:hover,
body.dark-mode .skill-card:hover {
    border-color: #6366f1;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}
[data-theme="dark"] .skill-card h3,
body.dark-mode .skill-card h3 { color: #e2e8f0; }
[data-theme="dark"] .project-card,
body.dark-mode .project-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid #2d2d44;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .project-card:hover,
body.dark-mode .project-card:hover {
    border-color: #6366f1;
}
[data-theme="dark"] .project-card h3,
body.dark-mode .project-card h3 { color: #e2e8f0; }
[data-theme="dark"] .project-card p,
body.dark-mode .project-card p { color: #a0aec0; }
[data-theme="dark"] .showcase-3cx-card,
body.dark-mode .showcase-3cx-card {
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid #2d2d44;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .showcase-3cx-content h3,
body.dark-mode .showcase-3cx-content h3 { color: #e2e8f0; }
[data-theme="dark"] .showcase-3cx-description,
body.dark-mode .showcase-3cx-description { color: #a0aec0; }
[data-theme="dark"] .feature-item,
body.dark-mode .feature-item {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
}
[data-theme="dark"] .feature-item span,
body.dark-mode .feature-item span { color: #cbd5e0; }
[data-theme="dark"] .tag,
body.dark-mode .tag {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}
[data-theme="dark"] .contact-form,
body.dark-mode .contact-form {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid #2d2d44;
}
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background: rgba(15, 15, 26, 0.8);
    border: 1px solid #2d2d44;
    color: #e2e8f0;
}
[data-theme="dark"] .contact-form input:focus,
[data-theme="dark"] .contact-form textarea:focus,
body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
[data-theme="dark"] footer,
body.dark-mode footer {
    background: rgba(15, 15, 26, 0.95);
    border-top: 1px solid #2d2d44;
    color: #a0aec0;
}
[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle,
body.dark-mode .hero-title,
body.dark-mode .hero-subtitle { color: #e2e8f0; }
[data-theme="dark"] .theme-toggle-btn,
body.dark-mode .theme-toggle-btn {
    border-color: #2d2d44;
    color: #fbbf24;
}
[data-theme="dark"] .theme-toggle-btn:hover,
body.dark-mode .theme-toggle-btn:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: #fbbf24;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}
[data-theme="dark"] .theme-modal,
body.dark-mode .theme-modal {
    background: #1a1a2e;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .theme-modal-header,
body.dark-mode .theme-modal-header {
    border-bottom-color: #2d2d44;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}
[data-theme="dark"] .theme-modal-header h3,
body.dark-mode .theme-modal-header h3 { color: #e2e8f0; }
[data-theme="dark"] .theme-modal-subtitle,
body.dark-mode .theme-modal-subtitle { color: #718096; }
[data-theme="dark"] .theme-option,
body.dark-mode .theme-option { border-color: #2d2d44; }
[data-theme="dark"] .theme-option:hover,
body.dark-mode .theme-option:hover {
    border-color: #818cf8;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}
[data-theme="dark"] .theme-option.active,
body.dark-mode .theme-option.active {
    border-color: #818cf8;
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}
[data-theme="dark"] .theme-option-info,
body.dark-mode .theme-option-info { color: #e2e8f0; }
[data-theme="dark"] .theme-modal-close,
body.dark-mode .theme-modal-close { color: #a0aec0; }
[data-theme="dark"] .theme-modal-close:hover,
body.dark-mode .theme-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
}
[data-theme="dark"] .progress-bar-bg,
body.dark-mode .progress-bar-bg { background: #2d2d44; }

/* Smooth theme transitions */
body, header, .skill-card, .project-card, .showcase-3cx-card,
.contact-form, footer, .theme-modal, .theme-option, .nav-links a,
.section-title, input, textarea, .tag, .feature-item {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

@media (max-width: 768px) {
    .theme-modal { width: 95%; max-width: 400px; }
    .theme-options { gap: 0.7rem; }
    .theme-preview { height: 60px; }
    .theme-modal-body { padding: 1.5rem; }
    .theme-option-info span { font-size: 0.8rem; }
}

/* Logo Image Styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }
}

/* ===== CONTACT FORM STYLES ===== */
.section-subtitle {
    text-align: center;
    color: var(--text-secondary, #a0a0b0);
    font-size: 1.1rem;
    margin-top: -1rem;
    margin-bottom: 2.5rem;
}

.contact-wrapper {
    display: flex;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-info-side {
    flex: 0 0 320px;
}

.contact-form-side {
    flex: 1;
}

.contact-info-card {
    background: var(--card-bg, rgba(30, 30, 50, 0.8));
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

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

.contact-info-item h4 {
    color: var(--text-primary, #fff);
    font-size: 0.95rem;
    margin: 0;
}

.contact-info-item p {
    color: var(--text-secondary, #a0a0b0);
    font-size: 0.85rem;
    margin: 0.2rem 0 0;
}

.contact-icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary, #6c63ff), var(--accent-secondary, #00d2ff));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-socials {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color, rgba(255,255,255,0.08));
}

.social-link-contact {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg, rgba(30, 30, 50, 0.6));
    border: 1px solid var(--border-color, rgba(255,255,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary, #a0a0b0);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link-contact:hover {
    background: linear-gradient(135deg, var(--accent-primary, #6c63ff), var(--accent-secondary, #00d2ff));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.contact-form {
    background: var(--card-bg, rgba(30, 30, 50, 0.8));
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    color: var(--text-primary, #fff);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group label i {
    margin-right: 0.4rem;
    color: var(--accent-primary, #6c63ff);
}

.form-group input,

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary, rgba(255,255,255,0.3));
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary, #6c63ff);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.form-group input.input-error,
.form-group textarea.input-error {
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.12);
}

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

.form-error {
    display: block;
    color: #ff4757;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    min-height: 1.1em;
}

/* Captcha Box */
.captcha-box {
    background: var(--input-bg, rgba(255,255,255,0.04));
    border: 1px solid var(--border-color, rgba(255,255,255,0.12));
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

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

.captcha-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    user-select: none;
}

.captcha-label input[type="checkbox"] {
    display: none;
}

.captcha-checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color, rgba(255,255,255,0.25));
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.captcha-label input[type="checkbox"]:checked + .captcha-checkmark {
    background: var(--accent-primary, #6c63ff);
    border-color: var(--accent-primary, #6c63ff);
}

.captcha-label input[type="checkbox"]:checked + .captcha-checkmark::after {
    content: '\2713';
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.captcha-text {
    color: var(--text-primary, #fff);
    font-size: 0.9rem;
}

.captcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--text-secondary, #a0a0b0);
    font-size: 0.7rem;
}

.captcha-logo i {
    font-size: 1.4rem;
    color: var(--accent-primary, #6c63ff);
}

.captcha-box.captcha-verifying {
    border-color: var(--accent-primary, #6c63ff);
    animation: captchaPulse 1.5s ease infinite;
}

@keyframes captchaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(108, 99, 255, 0); }
}

.captcha-box.captcha-success {
    border-color: #2ed573;
    background: rgba(46, 213, 115, 0.06);
}

.captcha-verified {
    color: #2ed573;
    font-weight: 600;
    font-size: 0.95rem;
    align-items: center;
    gap: 0.5rem;
}

.captcha-verified i {
    font-size: 1.3rem;
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    transition: all 0.3s ease;
}

.contact-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-submit-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.35);
}

.btn-loader .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

/* Success / Error Messages */
.form-success-message,

.form-success-message {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
}

.form-success-message i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.form-success-message p,
.form-error-message p {
    margin: 0;
}

.form-error-message {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

.form-error-message i {
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-info-side {
        flex: none;
        width: 100%;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .contact-info-card {
        padding: 1.5rem;
    }
}
/* Styles pour la page de contact */\nbody {\n  font-family: Arial, sans-serif;\n  margin: 0;\n  padding: 0;\n  box-sizing: border-box;\n}\nheader {\n  background-color: #333;\n  color: #fff;\n  padding: 10px 0;\n}\nnav ul {\n  list-style: none;\n  padding: 0;\n  display: flex;\n  justify-content: center;\n}\nnav ul li {\n  margin: 0 15px;\n}\nnav ul li a {\n  color: #fff;\n  text-decoration: none;\n}\nmain {\n  padding: 20px;\n  max-width: 600px;\n  margin: 0 auto;\n}\nform {\n  display: flex;\n  flex-direction: column;\n}\nlabel {\n  margin-bottom: 5px;\n}\ninput, textarea {\n  margin-bottom: 15px;\n  padding: 10px;\n  border: 1px solid #ccc;\n  border-radius: 5px;\n}\nbutton {\n  padding: 10px;\n  background-color: #333;\n  color: #fff;\n  border: none;\n  border-radius: 5px;\n  cursor: pointer;\n}\nbutton:hover {\n  background-color: #555;\n}
/* Waitlist Section */
#waitlist {
 background-color: #f9f9f9;
 padding: 50px 0;
 text-align: center;
}
#waitlist-form {
 display: flex;
 flex-direction: column;
 align-items: center;
}
#waitlist-form input {
 margin: 10px 0;
 padding: 10px;
 width: 80%;
 max-width: 400px;
 border: 1px solid #ccc;
 border-radius: 5px;
}
#waitlist-form button {
 margin-top: 20px;
 padding: 10px 20px;
 background-color: #007bff;
 color: white;
 border: none;
 border-radius: 5px;
 cursor: pointer;
}
#waitlist-form button:hover {
 background-color: #0056b3;
}

#waitlist {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0;
    text-align: center;
}

.waitlist-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #2d3748;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.waitlist-input {
    width: 300px;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.waitlist-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.waitlist-form .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
}
