/* Keyframe Animations */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInDown { 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 spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } @keyframes bounce { 0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); } 40%, 43% { transform: translate3d(0,-30px,0); } 70% { transform: translate3d(0,-15px,0); } 90% { transform: translate3d(0,-4px,0); } } @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } @keyframes shimmer { 0% { background-position: -468px 0; } 100% { background-position: 468px 0; } } /* Animation Classes */ .fade-in-up { animation: fadeInUp 0.6s ease-out; } .fade-in-down { animation: fadeInDown 0.6s ease-out; } .fade-in-left { animation: fadeInLeft 0.6s ease-out; } .fade-in-right { animation: fadeInRight 0.6s ease-out; } .pulse { animation: pulse 2s infinite; } .bounce { animation: bounce 2s infinite; } .float { animation: float 3s ease-in-out infinite; } .delay-100 { animation-delay: 0.1s; } .delay-200 { animation-delay: 0.2s; } .delay-300 { animation-delay: 0.3s; } .delay-400 { animation-delay: 0.4s; } .delay-500 { animation-delay: 0.5s; } /* Scroll Animations */ .reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; } .reveal.active { opacity: 1; transform: translateY(0); } /* Hover Effects */ .hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; } .hover-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); } .hover-glow { transition: box-shadow 0.3s ease; } .hover-glow:hover { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); } /* Loading Shimmer */ .shimmer { background: #f6f7f8; background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%); background-repeat: no-repeat; background-size: 800px 104px; animation: shimmer 1.2s ease-in-out infinite; } /* Glass Morphism Effects */ .glass-effect { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); } .glass-effect-heavy { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.3); } /* Gradient Text */ .gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* Button Animations */ .btn-animate { position: relative; overflow: hidden; transition: all 0.3s ease; } .btn-animate::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; } .btn-animate:hover::before { left: 100%; } /* Page Transitions */ .page-enter { opacity: 0; transform: translateY(20px); } .page-enter-active { opacity: 1; transform: translateY(0); transition: opacity 0.5s, transform 0.5s; } .page-exit { opacity: 1; } .page-exit-active { opacity: 0; transition: opacity 0.5s; } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); } /* Loading spinner additional styling (used by script) */ .loading-spinner { border: 6px solid rgba(0,0,0,0.06); border-top-color: transparent; border-radius: 50%; width: 80px; height: 80px; animation: spin 1s linear infinite; }