/**
 * AISC Website - Enhanced Animations & Motion
 * Industrial Precision Aesthetic
 */

:root {
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.6s;
    --duration-slower: 0.8s;
    --steel-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --metal-shine: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    --glow-primary: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #f59e0b, #3b82f6);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
    z-index: 9999;
}

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

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--steel-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-cnc {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader-cnc::before,
.loader-cnc::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.loader-cnc::before {
    inset: 0;
    border: 3px solid transparent;
    border-top-color: #3b82f6;
    border-bottom-color: #f59e0b;
    animation: spin 1.2s linear infinite;
}

.loader-cnc::after {
    inset: 10px;
    border: 3px solid transparent;
    border-left-color: #3b82f6;
    border-right-color: #f59e0b;
    animation: spin 0.8s linear infinite reverse;
}

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

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

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Particles */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: float 15s infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; animation-duration: 12s; }
.particle:nth-child(3) { left: 40%; animation-delay: -4s; animation-duration: 18s; }
.particle:nth-child(4) { left: 60%; animation-delay: -6s; animation-duration: 14s; }
.particle:nth-child(5) { left: 80%; animation-delay: -8s; animation-duration: 16s; }
.particle:nth-child(6) { left: 90%; animation-delay: -10s; animation-duration: 13s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; transform: translateY(80vh) scale(1); }
    90% { opacity: 1; transform: translateY(10vh) scale(1); }
    100% { opacity: 0; transform: translateY(0) scale(0); }
}

/* Gradient Text */
.gradient-text-animated {
    background: linear-gradient(90deg, #3b82f6, #f59e0b, #3b82f6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 3s linear infinite;
}

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

/* Buttons */
.btn-industrial {
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-smooth);
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    color: white;
    padding: 14px 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
}

.btn-industrial::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--metal-shine);
    transition: left var(--duration-slow) var(--ease-smooth);
}

.btn-industrial:hover::before {
    left: 100%;
}

.btn-industrial:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.btn-outline-animated {
    position: relative;
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: 12px 30px;
    overflow: hidden;
    transition: color var(--duration-normal) var(--ease-smooth);
    cursor: pointer;
}

.btn-outline-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #3b82f6;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--duration-normal) var(--ease-out-expo);
    z-index: -1;
}

.btn-outline-animated:hover {
    color: white;
}

.btn-outline-animated:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Cards */
.card-light {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.card-light:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--duration-slower) var(--ease-out-expo);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all var(--duration-slower) var(--ease-out-expo);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all var(--duration-slower) var(--ease-out-expo);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: all var(--duration-slower) var(--ease-out-expo);
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--duration-slow) var(--ease-out-expo);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* Icon Animations */
.icon-float {
    animation: iconFloat 3s ease-in-out infinite;
}

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

/* Counter */
.counter {
    display: inline-block;
}

/* Stats */
.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* CNC Grid Pattern */
.cnc-grid-pattern {
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Header Scroll */
.header-scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    width: 48px;
    height: 48px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.scroll-top-btn:hover {
    background: #2563eb;
    transform: translateY(-4px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .stat-number { font-size: 2.5rem; }
    .hero-grid-bg { background-size: 30px 30px; }
}

/* ========================================
   WORLD-CLASS DESIGN ENHANCEMENTS
   ======================================== */

/* Premium Glass Morphism */
.glass-premium {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Neon Glow Effects */
.neon-blue {
    box-shadow: 0 0 5px #3b82f6,
                0 0 10px #3b82f6,
                0 0 20px #3b82f6,
                0 0 40px #3b82f6;
}

.neon-text {
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.8),
                 0 0 20px rgba(59, 130, 246, 0.6),
                 0 0 30px rgba(59, 130, 246, 0.4);
}

/* Magnetic Hover Cards */
.card-magnetic {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.card-magnetic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                rgba(59, 130, 246, 0.15) 0%, 
                transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.card-magnetic:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(59, 130, 246, 0.2);
}

/* Animated Border Gradient */
.border-gradient-animated {
    position: relative;
    background: #0f172a;
    border-radius: 16px;
}

.border-gradient-animated::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #3b82f6, #f59e0b, #ec4899, #3b82f6);
    background-size: 300% 300%;
    border-radius: 18px;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
}

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

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

.card-3d-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

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

/* Liquid Button */
.btn-liquid {
    position: relative;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-liquid::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.6s, height 0.6s;
}

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

.btn-liquid:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

/* Morphing Background */
.morph-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.1;
    filter: blur(60px);
}

@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* Spotlight Effect */
.spotlight {
    position: relative;
    overflow: hidden;
}

.spotlight::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.1), transparent 30%);
    animation: spotlight 4s linear infinite;
}

@keyframes spotlight {
    100% { transform: rotate(360deg); }
}

/* Text Reveal Animation */
.text-reveal-premium {
    position: relative;
    overflow: hidden;
}

.text-reveal-premium span {
    display: inline-block;
    transform: translateY(100%);
    animation: textRevealPremium 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes textRevealPremium {
    to { transform: translateY(0); }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s infinite linear alternate-reverse;
    color: #ff00ff;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite linear alternate-reverse;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 2px); }
    100% { clip-path: inset(50% 0 30% 0); transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(60% 0 20% 0); transform: translate(2px, -2px); }
    100% { clip-path: inset(30% 0 50% 0); transform: translate(-2px, 2px); }
}

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

.float-medium {
    animation: floatMedium 4s ease-in-out infinite;
}

.float-fast {
    animation: floatFast 3s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatMedium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-5deg); }
}

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

/* Pulse Ring */
.pulse-ring {
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #3b82f6;
    border-radius: inherit;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 3px solid #3b82f6;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blinkCursor 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50% { border-color: #3b82f6; }
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.ripple:active::after {
    animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
    to { transform: translate(-50%, -50%) scale(40); opacity: 0; }
}

/* Gradient Border Button */
.btn-gradient-border {
    position: relative;
    padding: 14px 32px;
    font-weight: 600;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
}

.btn-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(135deg, #3b82f6, #f59e0b, #ec4899);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.btn-gradient-border:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(245, 158, 11, 0.1));
}

/* Service Card Premium */
.service-card-premium {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #f59e0b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card-premium:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

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

.service-card-premium:hover::after {
    opacity: 1;
}

/* Icon Box Premium */
.icon-box-premium {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.icon-box-premium::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #3b82f6, #f59e0b);
    border-radius: 23px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card-premium:hover .icon-box-premium::before {
    opacity: 1;
}

.service-card-premium:hover .icon-box-premium {
    transform: scale(1.1) rotate(5deg);
}

/* Stats Premium */
.stat-premium {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-premium .number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #f59e0b 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    position: relative;
    display: inline-block;
}

.stat-premium .number::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #f59e0b);
    border-radius: 2px;
}

/* Hero Premium Styles */
.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    overflow: hidden;
}

.hero-premium .bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-premium .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.hero-premium .shape-1 {
    width: 600px;
    height: 600px;
    background: #3b82f6;
    top: -200px;
    left: -200px;
    animation: floatSlow 8s ease-in-out infinite;
}

.hero-premium .shape-2 {
    width: 400px;
    height: 400px;
    background: #f59e0b;
    bottom: -100px;
    right: -100px;
    animation: floatMedium 6s ease-in-out infinite;
}

.hero-premium .shape-3 {
    width: 300px;
    height: 300px;
    background: #ec4899;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatFast 4s ease-in-out infinite;
}

/* Section Title Premium */
.section-title-premium {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title-premium::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #f59e0b);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section-title-premium:hover::before {
    width: 100%;
}

/* CTA Premium */
.cta-premium {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Testimonial Card Premium */
.testimonial-premium {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-premium::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: #3b82f6;
    opacity: 0.1;
    line-height: 1;
}

/* Footer Premium */
.footer-premium {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    position: relative;
    overflow: hidden;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

/* Smooth Image Reveal */
.img-reveal {
    position: relative;
    overflow: hidden;
}

.img-reveal img {
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.img-reveal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6, #f59e0b);
    z-index: 1;
    transform: translateX(-101%);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.img-reveal.revealed::before {
    transform: translateX(101%);
}

.img-reveal.revealed img {
    transform: scale(1.05);
}
