/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #fd79a8;
    --accent-color: #00b894;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
    --grey-light: #f1f3f5;
    --grey-medium: #e9ecf1;
    --grey-dark: #dee2e6;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-grey: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    --gradient-grey-dark: linear-gradient(145deg, #e9ecef 0%, #dee2e6 100%);
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-heavy: 0 20px 40px rgba(0,0,0,0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    background-attachment: fixed;
}

/* Navigation Styles */
#mainNav {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-light);
}

#mainNav.scrolled {
    background: rgba(44, 62, 80, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    color: white;
}

.btn-outline-light:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Typing Animation */
.typing-text {
    position: relative;
}

.typing-text::after {
    content: '|';
    color: var(--secondary-color);
    animation: blink 1s infinite;
}

/* Neural Network Animation */
.neural-network {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

#neuralCanvas {
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    border-radius: 15px;
}

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

.section-padding:not(.hero-section):not(.bg-dark) {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 50%, #e9ecf1 100%);
}

.section-padding:not(.hero-section):not(.bg-dark)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(108, 92, 231, 0.02) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(118, 75, 162, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

/* About Section */
.about-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.stat-item {
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(145deg, #dee2e6, #f8f9fa);
    box-shadow: var(--shadow-light);
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(145deg, #e9ecef 0%, #f8f9fa 100%);
}

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

.ai-visualization {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: rgba(15, 15, 25, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 92, 231, 0.1);
    transition: all 0.3s ease;
}

.ai-visualization:hover {
    background: rgba(15, 15, 25, 0.15);
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.1);
}

.ai-visualization::after {
    content: '🧠 Red Neuronal Interactiva - Mueve el cursor sobre el canvas';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: rgba(108, 92, 231, 0.8);
    background: rgba(15, 15, 25, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    border: 1px solid rgba(108, 92, 231, 0.3);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.ai-visualization:hover::after {
    color: rgba(108, 92, 231, 1);
    border-color: rgba(108, 92, 231, 0.5);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.2);
    transform: translateX(-50%) translateY(-2px);
}

#aiCanvas {
    border-radius: 20px;
    background: linear-gradient(135deg, #0f0f19 0%, #1a0f23 100%);
    box-shadow: 
        0 0 30px rgba(108, 92, 231, 0.3),
        0 10px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(108, 92, 231, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: aiCanvasPulse 6s ease-in-out infinite;
}

#aiCanvas:hover {
    box-shadow: 
        0 0 50px rgba(108, 92, 231, 0.5),
        0 15px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(108, 92, 231, 0.5);
    transform: scale(1.02);
    animation-play-state: paused;
}

@keyframes aiCanvasPulse {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(108, 92, 231, 0.3),
            0 10px 50px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(108, 92, 231, 0.5),
            0 15px 60px rgba(0, 0, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

/* Skills Section */
.skills-category {
    margin-bottom: 3rem;
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

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

.skill-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 4px;
    transition: width 2s ease-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

/* Projects Section */
.project-card {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    position: relative;
    border: 1px solid rgba(220, 225, 230, 0.4);
    backdrop-filter: blur(10px);
    animation: fadeInScale 0.6s ease-out;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(31, 38, 135, 0.3);
    border-color: rgba(108, 92, 231, 0.4);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe);
    background-size: 300% 100%;
    animation: gradientFlow 3s ease infinite;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 0%, rgba(108, 92, 231, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 40%);
    pointer-events: none;
    opacity: 0;
    transition: all 0.5s ease;
    animation: particleFloat 4s ease-in-out infinite;
}

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

/* Unique gradients for each project card */
.project-card:nth-child(1) .project-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-card:nth-child(2) .project-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-card:nth-child(3) .project-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.project-card:nth-child(4) .project-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.project-card:nth-child(5) .project-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.project-card:nth-child(6) .project-image {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.project-card:nth-child(7) .project-image {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.project-card:nth-child(8) .project-image {
    background: linear-gradient(135deg, #ff8a80 0%, #ea4c89 100%);
}

.project-card:nth-child(9) .project-image {
    background: linear-gradient(135deg, #8360c3 0%, #2ebf91 100%);
}

.project-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.project-image i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: all 0.4s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

.project-card:hover .project-image i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
}

/* Specific icon colors and animations */
.fa-robot {
    color: #00d4ff !important;
    animation: iconFloat 3s ease-in-out infinite, robotPulse 2s ease-in-out infinite;
}

.fa-heart {
    color: #ff4757 !important;
    animation: iconFloat 3s ease-in-out infinite, heartBeat 1.5s ease-in-out infinite;
}

.fa-palette {
    color: #ffa502 !important;
    animation: iconFloat 3s ease-in-out infinite, colorShift 4s ease-in-out infinite;
}

.fa-star {
    color: #f1c40f !important;
    animation: iconFloat 3s ease-in-out infinite, starTwinkle 2s ease-in-out infinite;
}

.fa-eye {
    color: #e67e22 !important;
    animation: iconFloat 3s ease-in-out infinite, eyeBlink 3s ease-in-out infinite;
}

.fa-chart-line {
    color: #27ae60 !important;
    animation: iconFloat 3s ease-in-out infinite, chartGrow 2.5s ease-in-out infinite;
}

.fa-x-ray {
    color: #9b59b6 !important;
    animation: iconFloat 3s ease-in-out infinite, xrayGlow 3s ease-in-out infinite;
}

.fa-dna {
    color: #e74c3c !important;
    animation: iconFloat 3s ease-in-out infinite, dnaRotate 4s linear infinite;
}

.fa-language {
    color: #3498db !important;
    animation: iconFloat 3s ease-in-out infinite, languageSwap 3s ease-in-out infinite;
}

.project-content {
    padding: 2rem;
    background: linear-gradient(145deg, rgba(248,249,250,0.95) 0%, rgba(233,236,239,0.95) 100%);
    position: relative;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.project-card:hover .project-title {
    transform: translateX(5px);
}

.project-description {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-description {
    color: #333;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.tech-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tech-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tech-tag::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;
}

.tech-tag:hover::before {
    left: 100%;
}

/* Varied colors for tech tags */
.tech-tag:nth-child(1) { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.tech-tag:nth-child(2) { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.tech-tag:nth-child(3) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.tech-tag:nth-child(4) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.tech-tag:nth-child(5) { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.tech-tag:nth-child(6) { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.tech-tag:nth-child(7) { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.tech-tag:nth-child(8) { background: linear-gradient(135deg, #ff8a80 0%, #ea4c89 100%); }
.tech-tag:nth-child(9) { background: linear-gradient(135deg, #8360c3 0%, #2ebf91 100%); }
.tech-tag:nth-child(10) { background: linear-gradient(135deg, #ff9a8b 0%, #a8e6cf 100%); }

.project-card:hover .tech-tag {
    animation: techTagPulse 0.6s ease-out;
}

@keyframes techTagPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Enhanced Project Card Effects */
.project-card:hover {
    animation: cardGlow 2s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(31, 38, 135, 0.3);
    }
    50% {
        box-shadow: 0 20px 60px rgba(31, 38, 135, 0.3), 0 0 30px rgba(108, 92, 231, 0.4);
    }
}

/* Staggered animation for project cards when they load */
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }
.project-card:nth-child(7) { animation-delay: 0.7s; }
.project-card:nth-child(8) { animation-delay: 0.8s; }
.project-card:nth-child(9) { animation-delay: 0.9s; }

/* Particle float animation */

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(120deg);
    }
    66% {
        transform: translateY(5px) rotate(240deg);
    }
}

/* Enhanced Professional Chart Containers */
.chart-container {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(108, 92, 231, 0.1);
    backdrop-filter: blur(10px);
    height: 450px;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(108, 92, 231, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(240, 147, 251, 0.03) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chart-container:hover::before {
    opacity: 1;
}

.chart-container:hover {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(108, 92, 231, 0.15),
        0 0 40px rgba(108, 92, 231, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(108, 92, 231, 0.3);
}

.chart-container h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-align: center;
    padding-bottom: 1rem;
}

.chart-container h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    animation: shimmer 2s ease-in-out infinite;
}

.chart-container canvas {
    position: relative;
    z-index: 2;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.chart-container:hover canvas {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.1);
}

/* Real-time Demo */
.realtime-demo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    color: white;
    position: relative;
    overflow: hidden;
}

.realtime-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.realtime-demo h4 {
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.demo-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#inputText {
    background: rgba(255,255,255,0.15) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-radius: 15px !important;
    color: white !important;
    padding: 15px 20px !important;
    font-size: 1rem !important;
    font-family: 'Poppins', sans-serif !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-height: 120px;
    resize: vertical;
}

#inputText::placeholder {
    color: rgba(255,255,255,0.8) !important;
    font-style: italic;
}

#inputText:focus {
    background: rgba(255,255,255,0.25) !important;
    border-color: #f093fb !important;
    box-shadow: 0 0 0 0.3rem rgba(240, 147, 251, 0.3), 0 8px 25px rgba(0,0,0,0.3) !important;
    outline: none !important;
    transform: translateY(-2px);
}

#generateBtn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    color: white !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4) !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

#generateBtn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.6) !important;
}

#generateBtn:active {
    transform: translateY(-1px) !important;
}

#generateBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.output-area {
    background: linear-gradient(135deg, rgba(240,242,245,0.95) 0%, rgba(228,230,235,0.95) 100%);
    border: 2px solid rgba(108, 92, 231, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    min-height: 120px;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2d3436;
    box-shadow: inset 0 2px 10px rgba(108, 92, 231, 0.1), 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.output-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    border-radius: 15px 15px 0 0;
}

.output-area:not(:empty) {
    border-color: rgba(108, 92, 231, 0.5);
    box-shadow: inset 0 2px 10px rgba(108, 92, 231, 0.15), 0 6px 20px rgba(0,0,0,0.15);
}

.output-area .alert {
    margin: 0;
    padding: 1rem;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.1) 0%, rgba(0, 184, 148, 0.05) 100%);
    border-left: 4px solid #00b894;
    color: #2d3436;
    box-shadow: 0 2px 8px rgba(0, 184, 148, 0.2);
}

.output-area .text-muted {
    color: rgba(108, 92, 231, 0.7) !important;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(233, 236, 239, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    border-radius: 10px;
    border: 2px dashed rgba(108, 92, 231, 0.3);
}

.output-area .text-muted::before {
    content: '💡 ';
    font-size: 1.2em;
    margin-right: 0.5rem;
}

/* Enhanced loader for generate button */
#generateBtn .loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

/* Demo section animations */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 20px rgba(255,255,255,0.1);
    }
}

#inputText:focus {
    animation: pulseGlow 2s ease-in-out infinite;
}

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

.output-area .alert {
    animation: slideInFromBottom 0.5s ease-out;
}

/* DeepSeek API Integration Styles */
.api-setup {
    text-align: center;
    padding: 1.5rem;
}

.api-ready {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.05) 0%, rgba(0, 184, 148, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 184, 148, 0.1);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.status-indicator i {
    font-size: 1.3rem;
}

.config-info {
    background: rgba(248, 249, 250, 0.7);
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid rgba(218, 220, 224, 0.5);
}

.config-info small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-info {
    background: rgba(233, 236, 239, 0.7);
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(218, 220, 224, 0.5);
}

.pricing-info small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pricing-info a {
    font-weight: 600;
    text-decoration: none;
}

.pricing-info a:hover {
    text-decoration: underline;
}

.api-key-setup {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.api-key-setup .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.api-key-setup .form-control {
    background: rgba(248, 249, 250, 0.9) !important;
    border: 2px solid rgba(108, 92, 231, 0.2) !important;
    border-radius: 10px !important;
    color: var(--dark-color) !important;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
}

.api-key-setup .form-control:focus {
    border-color: rgba(108, 92, 231, 0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.1) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

.api-key-setup .form-text {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.api-key-setup .form-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.api-key-setup .form-text a:hover {
    text-decoration: underline;
}

.cors-toggle {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.cors-toggle .form-check {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.cors-toggle .form-check-input {
    width: 3rem;
    height: 1.5rem;
    border-radius: 1rem;
    background-color: #dee2e6;
    border: none;
    transition: all 0.3s ease;
}

.cors-toggle .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.cors-toggle .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.25);
}

.cors-toggle .form-check-label {
    font-size: 0.9rem;
    color: var(--dark-color);
    font-weight: 500;
    cursor: pointer;
}

/* AI Response Styles */
.ai-response {
    background: linear-gradient(145deg, rgba(248, 249, 250, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: slideInFromBottom 0.6s ease-out;
}

.response-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.response-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.response-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.response-meta .badge {
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
    border-radius: 15px;
    font-weight: 500;
}

.response-content {
    padding: 1.5rem;
    line-height: 1.7;
}

.response-content p {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.response-content p:last-child {
    margin-bottom: 0;
}

.response-footer {
    background: rgba(108, 92, 231, 0.05);
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
}

.response-footer small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.usage-details {
    background: rgba(248, 249, 250, 0.8);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(218, 220, 224, 0.5);
}

.usage-details small {
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Enhanced Error Styles */
.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-left: 4px solid #dc3545;
    border-radius: 10px;
    animation: slideInFromBottom 0.5s ease-out;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-left: 4px solid #ffc107;
    border-radius: 10px;
    animation: slideInFromBottom 0.5s ease-out;
    color: #856404;
}

.alert-danger h6 {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.alert-warning h6 {
    color: #b45309;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.alert-danger p,
.alert-warning p {
    margin-bottom: 0.5rem;
}

.alert-danger hr,
.alert-warning hr {
    border-color: rgba(220, 53, 69, 0.2);
    margin: 1rem 0;
}

.alert-warning hr {
    border-color: rgba(255, 193, 7, 0.2);
}

.alert-danger small,
.alert-warning small {
    color: #6c757d;
    line-height: 1.5;
}

/* CORS Solutions Styles */
.cors-solutions {
    color: #856404;
}

.solution-option {
    background: rgba(255, 193, 7, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #ffc107;
    margin-bottom: 0.75rem;
}

.solution-option strong {
    color: #b45309;
}

.solution-option a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.solution-option a:hover {
    text-decoration: underline;
}

.solution-option code {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85rem;
    word-break: break-all;
}

/* Balance Error Styles */
.balance-solutions {
    color: #721c24;
}

.balance-solutions .solution-option {
    background: rgba(220, 53, 69, 0.05);
    border-left: 3px solid #dc3545;
}

.balance-solutions .solution-option strong {
    color: #721c24;
}

.current-balance {
    background: rgba(220, 53, 69, 0.08);
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid rgba(220, 53, 69, 0.2);
    text-align: center;
}

.current-balance small {
    color: #721c24;
    font-weight: 500;
}

.quick-solution .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.quick-solution .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.quick-solution .btn i {
    margin-right: 0.5rem;
}

/* Loading Animation Enhancement */
#generateBtn .loader {
    margin-right: 10px;
}

/* Responsive Design for API Demo */
@media (max-width: 768px) {
    .response-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .response-meta {
        width: 100%;
        justify-content: flex-start;
    }
    
    .api-key-setup {
        max-width: 100%;
    }
    
    .response-content {
        padding: 1rem;
    }
}

/* Gradient background animation for realtime demo */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.realtime-demo {
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

/* Project Card Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

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

/* Specific Icon Animations */
@keyframes robotPulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 212, 255, 0.6);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
}

@keyframes colorShift {
    0% {
        filter: hue-rotate(0deg);
    }
    25% {
        filter: hue-rotate(90deg);
    }
    50% {
        filter: hue-rotate(180deg);
    }
    75% {
        filter: hue-rotate(270deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes eyeBlink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

@keyframes chartGrow {
    0% {
        transform: scaleY(0.8);
    }
    50% {
        transform: scaleY(1.1);
    }
    100% {
        transform: scaleY(1);
    }
}

@keyframes xrayGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(155, 89, 182, 0.5));
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 15px rgba(155, 89, 182, 0.8));
    }
}

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

@keyframes languageSwap {
    0%, 100% {
        content: '🌐';
    }
    25% {
        content: '🔤';
    }
    50% {
        content: '📝';
    }
    75% {
        content: '💬';
    }
}

/* Custom background for light sections */
.bg-light {
    background: linear-gradient(135deg, #f1f3f5 0%, #e9ecf1 100%) !important;
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(108, 92, 231, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Contact Form */
.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    color: white;
    padding: 12px 15px;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-control:focus {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.25);
    color: white;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-medium);
    color: white;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

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

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

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

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

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

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

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Professional Chart Animations & Effects */
@keyframes shimmer {
    0%, 100% {
        background-position: -200% center;
        background-size: 200% 100%;
    }
    50% {
        background-position: 200% center;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(108, 92, 231, 0.6);
    }
}

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

/* Sparkle Effect */
.sparkle-effect {
    animation: sparkle 1s ease-out forwards;
    color: #667eea;
    text-shadow: 
        0 0 10px rgba(108, 92, 231, 0.8),
        0 0 20px rgba(108, 92, 231, 0.6),
        0 0 30px rgba(108, 92, 231, 0.4);
}

/* Technology Detail Tooltip */
.tech-detail-tooltip {
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.tech-detail-tooltip .tooltip-header {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tech-detail-tooltip .tooltip-body {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.9;
}

/* Enhanced Visualizations Section */
#visualizations {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 50%, #e9ecf1 100%);
    overflow: hidden;
}

#visualizations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(108, 92, 231, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(240, 147, 251, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

#visualizations .container {
    position: relative;
    z-index: 1;
}

#visualizations .section-title {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

#visualizations .section-title::after {
    content: '📊';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: bounceChart 2s ease-in-out infinite;
}

/* Performance Indicators */
.chart-container .performance-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
    animation: pulseGlow 2s ease-in-out infinite;
    z-index: 10;
}

.chart-container .performance-indicator::before {
    content: '🚀';
    margin-right: 0.5rem;
}

/* Chart Hover Effects */
.chart-container:hover .performance-indicator {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
}

/* Responsive Chart Adjustments */
@media (max-width: 768px) {
    .chart-container {
        height: 380px;
        padding: 1.5rem;
    }
    
    .chart-container h4 {
        font-size: 1.2rem;
    }
    
    #visualizations .section-title::after {
        right: -40px;
        font-size: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
    
    #neuralCanvas {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
}

/* Loading Animation */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Particle Styles */
#particles-js canvas {
    display: block;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 0.8;
} 