/* Scroll Reveal Animations - moved to end of file */

/* Section titles */
.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9EA3A8, #BFC2C6);
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.section-title.animate-in::after {
    width: 60px;
}

/* Individual elements animation - handled by .reveal class */

/* Hover effects */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.industry-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(158, 163, 168, 0.2);
}

.cert-badge:hover {
    transform: translateY(-4px);
    border-color: #9EA3A8;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Enhanced parallax background */
.parallax-bg {
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Parallax sections */
section {
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Simple section title animation - no flicker */
.section-title {
    /* No special effects - just clean fade in */
}

/* Clean service cards - no complex animations */

/* Clean about section - no complex animations */

/* Clean industries pills - no complex animations */

/* Contact form animation */
.contact-form-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.intro-column {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-column.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced CTA section animation */
.cta-content {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-content.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Form field animations */
.form-field-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-field-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.form-row .form-field:nth-child(1) {
    transition-delay: 0.1s;
}

.form-row .form-field:nth-child(2) {
    transition-delay: 0.15s;
}

/* Clean gallery - no complex animations */

/* Enhanced parallax video background */
.video-background {
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Title and subtitle animations with proper timing */
.title-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.title-reveal.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.subtitle-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.subtitle-reveal.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Footer animation */
.footer-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .service-card,
    .about-content,
    .stat-block,
    .industry-pill,
    .contact-form-card,
    .intro-column,
    .cta-content,
    .gallery-container img {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
    
    .section-title::after {
        transition: none;
    }
    
    .parallax-bg,
    .video-background {
        transform: none;
        will-change: auto;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .scroll-animate {
        transform: translateY(25px);
        transition-duration: 0.6s;
    }
    
    .services-grid .service-card {
        transform: translateY(30px) scale(0.95);
        transition-duration: 0.6s;
    }
    
    .text-reveal {
        transform: translateY(20px);
        transition-duration: 0.5s;
    }
    
    .image-reveal {
        transform: translateY(30px) scale(0.98);
        transition-duration: 0.7s;
    }
    
    /* Reduce parallax on mobile for performance */
    .parallax-bg,
    .video-background,
    section {
        transform: none !important;
        will-change: auto;
    }
    
    /* Faster animations on mobile */
    .section-title.highlight {
        transition-duration: 0.6s;
    }
    
    .section-title.highlight::after {
        transition-duration: 0.7s;
    }
}
/* Navigation active styles removed - using site colors */

/* Navigation active line removed as requested */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
.scroll-animate,
.delayed-animate,
.service-card,
.stat-block,
.industry-pill,
.form-field-animate {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Enhanced hover effects for animated elements */
.service-card.animate-in:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.industry-pill.animate-in:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

/* Tablet optimizations */
@media (max-width: 1024px) and (min-width: 769px) {
    .scroll-animate {
        transition-duration: 0.7s;
    }
    
    .services-grid .service-card {
        transition-duration: 0.7s;
    }
    
    /* Reduced parallax on tablet */
    section {
        transform: none !important;
    }
}/* Accessibi
lity improvements */
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    /* Forced visibility removed */
    
    .parallax-bg,
    .video-background,
    section {
        transform: none !important;
        will-change: auto !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .section-title.highlight {
        color: #00ffff;
        text-shadow: none;
    }
    
    .section-title.highlight::after {
        background: #00ffff;
        box-shadow: none;
    }
    
    .nav-menu a.active {
        color: #00ffff;
        text-shadow: none;
    }
    
    /* Navigation active line removed */
}

/* Focus management for animated elements */
.scroll-animate:focus-visible,
.delayed-animate:focus-visible,
.service-card:focus-visible,
.industry-pill:focus-visible,
.title-reveal:focus-visible,
.subtitle-reveal:focus-visible {
    outline: 2px solid #00ffff;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000000;
    color: #00ffff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Clean mobile optimizations */
@media (max-width: 768px) {
    /* Reduce hover effects on mobile */
    .service-card:hover,
    .industry-pill:hover,
    .gallery-container img:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Tablet optimizations */
@media (max-width: 1024px) and (min-width: 769px) {
    .scroll-reveal,
    .service-card,
    .stat-block,
    .industry-pill {
        transition-duration: 0.5s;
    }
}/* M
odern loading state */
.loading-shimmer {
    background: linear-gradient(90deg, transparent, rgba(158, 163, 168, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Premium focus states */
.service-card:focus-visible,
.industry-pill:focus-visible,
.cta-button:focus-visible {
    outline: 2px solid #BFC2C6;
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(191, 194, 198, 0.1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
.scroll-reveal,
.service-card,
.stat-block,
.industry-pill {
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: opacity, transform;
}

.scroll-reveal.animate-in,
.service-card.animate-in,
.stat-block.animate-in,
.industry-pill.animate-in {
    will-change: auto;
}

/* OPTIMIZED - Simple reveal animations for 60fps performance */
.reveal {
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.reveal.in-view {
    opacity: 1 !important;
}

/* Mobile and tablet - No animations for performance */
@media (max-width: 1023px) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Section titles cu line effect */
.section-title.reveal {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title.reveal.in-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.section-title.reveal.in-view::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9EA3A8, #BFC2C6);
    animation: lineExpand 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes lineExpand {
    to {
        width: 60px;
    }
}

/* Industry pills cu wave effect */
.industry-pill.reveal {
    opacity: 0 !important;
    transform: translateX(-30px) !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-pill.reveal.in-view {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Stats cu bounce effect */
.stat-block.reveal {
    opacity: 0 !important;
    transform: translateY(50px) scale(0.8) !important;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-block.reveal.in-view {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Hover effects enhanced */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(158, 163, 168, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-badge:hover {
    transform: translateY(-5px) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-pill:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(158, 163, 168, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}