/* Sobre Page - Enhanced Dynamic and Technological Styles */
:root {
    --animation-duration: 0.6s;
    --hover-transform: translateY(-5px);
    --tech-glow: 0 0 20px rgba(0, 120, 170, 0.3);
    --gradient-tech: linear-gradient(135deg, #0078aa, #005f8a, #003d5b);
}

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

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

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

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

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

/* Enhanced Hero Section */
.hero-enhanced {
    position: relative;
    overflow: hidden;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 120, 170, 0.05) 0%, rgba(255, 111, 60, 0.08) 50%, rgba(255, 215, 0, 0.05) 100%);
    animation: pulse 4s ease-in-out infinite;
}

.hero-content {
    animation: fadeInUp var(--animation-duration) ease-out;
}

/* Interactive Cards */
.tech-card {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

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

.tech-card:hover {
    transform: var(--hover-transform);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Animated Icons */
.animated-icon {
    transition: all 0.3s ease;
    animation: rotateIn var(--animation-duration) ease-out;
}

.animated-icon:hover {
    transform: rotate(10deg) scale(1.1);
    filter: drop-shadow(var(--tech-glow));
}

/* Progressive Reveal Sections */
.reveal-section {
    opacity: 0;
    animation: fadeInUp var(--animation-duration) ease-out;
    animation-fill-mode: forwards;
}

.reveal-section:nth-child(even) {
    animation: fadeInLeft var(--animation-duration) ease-out;
    animation-fill-mode: forwards;
}

.reveal-section:nth-child(odd) {
    animation: fadeInRight var(--animation-duration) ease-out;
    animation-fill-mode: forwards;
}

/* Enhanced Process Steps */
.process-step {
    position: relative;
    animation: slideInFromBottom var(--animation-duration) ease-out;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.process-number {
    position: relative;
    overflow: hidden;
}

.process-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.process-step:hover .process-number::after {
    transform: translateX(100%);
}

/* Team Section Enhancements */
.team-avatar {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-avatar::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.team-avatar:hover::after {
    opacity: 0.3;
}

.team-avatar:hover {
    transform: scale(1.05);
}

/* Testimonial Cards */
.testimonial-card {
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-tech);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

/* Commitment Cards */
.commitment-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.commitment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 120, 170, 0.02), rgba(255, 111, 60, 0.02));
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 16px;
}

.commitment-card:hover::before {
    transform: scale(1);
}

.commitment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Enhanced Buttons */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Floating Elements */
.floating {
    animation: float 6s ease-in-out infinite;
}

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

/* Data Visualization */
.stat-number {
    position: relative;
    overflow: hidden;
}

.stat-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 120, 170, 0.3), transparent);
    transition: left 0.8s ease;
}

.stat-number:hover::after {
    left: 100%;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .reveal-section {
        animation: fadeInUp 0.4s ease-out;
    }
    
    .tech-card {
        margin-bottom: 1rem;
    }
    
    .process-step {
        animation-delay: 0s !important;
    }
}

/* Scroll Reveal Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Loading Animation */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Interactive Highlights */
.highlight-on-hover {
    position: relative;
    transition: color 0.3s ease;
}

.highlight-on-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.highlight-on-hover:hover::after {
    width: 100%;
}

/* 3D Transform Effects */
.transform-3d {
    perspective: 1000px;
}

.transform-3d:hover {
    transform: rotateX(5deg) rotateY(-5deg);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}