/**
 * BusinessPro-X Premium Animations
 * Theme: BusinessPro-X
 * Description: Smooth, premium animations without changing design
 * Version: 1.0.0
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --animation-duration: 0.6s;
    --animation-delay: 0.1s;
    --animation-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   REDUCED MOTION PREFERENCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .animate {
        opacity: 1 !important;
        transform: none !important;
    }
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
    .floating-card,
    .stat-number,
    .pricing-card.featured {
        animation: none !important;
    }
}

/* ============================================
   1. SCROLL ANIMATIONS (AOS)
   ============================================ */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: var(--animation-duration);
    transition-timing-function: var(--animation-ease);
    pointer-events: none;
}

[data-aos].aos-animate {
    opacity: 1;
    pointer-events: auto;
}

/* Fade Up */
[data-aos="fade-up"] {
    transform: translateY(40px);
}
[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

/* Fade Down */
[data-aos="fade-down"] {
    transform: translateY(-40px);
}
[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

/* Fade Left */
[data-aos="fade-left"] {
    transform: translateX(40px);
}
[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Fade Right */
[data-aos="fade-right"] {
    transform: translateX(-40px);
}
[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* Zoom In */
[data-aos="zoom-in"] {
    transform: scale(0.9);
}
[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Zoom Out */
[data-aos="zoom-out"] {
    transform: scale(1.1);
}
[data-aos="zoom-out"].aos-animate {
    transform: scale(1);
}

/* Flip */
[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-20deg);
}
[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0deg);
}

[data-aos="flip-right"] {
    transform: perspective(1000px) rotateY(20deg);
}
[data-aos="flip-right"].aos-animate {
    transform: perspective(1000px) rotateY(0deg);
}

/* Stagger Delays */
[data-aos-delay="50"] { transition-delay: 0.05s; }
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="250"] { transition-delay: 0.25s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="350"] { transition-delay: 0.35s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="450"] { transition-delay: 0.45s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* ============================================
   2. HEADER ANIMATIONS
   ============================================ */

/* Sticky Header Shrink */
.site-header {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-header.scrolled {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 68px;
    min-height: 68px;
    max-height: 68px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}

.site-header.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Logo Animation */
.site-branding .logo-link img {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-header.scrolled .logo-link img {
    transform: scale(0.92);
}

/* ============================================
   3. NAVIGATION ANIMATIONS
   ============================================ */

/* Menu Item Underline Slide */
.main-navigation ul li a {
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--primary-color, #0073aa);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 2px;
}

.main-navigation ul li a:hover::after,
.main-navigation ul li.current-menu-item a::after {
    width: 24px;
}

/* Mega Menu Dropdown */
.main-navigation ul li .sub-menu {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: top center;
    transform: translateX(-50%) translateY(10px) scaleY(0.95);
    opacity: 0;
    visibility: hidden;
}

.main-navigation ul li:hover .sub-menu {
    transform: translateX(-50%) translateY(0) scaleY(1);
    opacity: 1;
    visibility: visible;
}

/* Sub-menu Items Stagger */
.main-navigation ul li .sub-menu li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-navigation ul li:hover .sub-menu li {
    opacity: 1;
    transform: translateY(0);
}

.main-navigation ul li:hover .sub-menu li:nth-child(1) { transition-delay: 0.05s; }
.main-navigation ul li:hover .sub-menu li:nth-child(2) { transition-delay: 0.1s; }
.main-navigation ul li:hover .sub-menu li:nth-child(3) { transition-delay: 0.15s; }
.main-navigation ul li:hover .sub-menu li:nth-child(4) { transition-delay: 0.2s; }
.main-navigation ul li:hover .sub-menu li:nth-child(5) { transition-delay: 0.25s; }
.main-navigation ul li:hover .sub-menu li:nth-child(6) { transition-delay: 0.3s; }
.main-navigation ul li:hover .sub-menu li:nth-child(7) { transition-delay: 0.35s; }
.main-navigation ul li:hover .sub-menu li:nth-child(8) { transition-delay: 0.4s; }

/* Mobile Menu Slide */
.main-navigation {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-navigation.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Menu Toggle Animation */
.menu-toggle span {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   4. SEARCH OVERLAY
   ============================================ */
.search-overlay {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-container {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-overlay.active .search-overlay-container {
    transform: scale(1);
    opacity: 1;
}

.search-overlay .search-field {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.search-overlay.active .search-field {
    transform: translateY(0);
    opacity: 1;
}

.search-close {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-close:hover {
    transform: rotate(90deg) scale(1.1);
}

/* ============================================
   5. BUTTON ANIMATIONS
   ============================================ */

/* Button Hover Lift */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Button Glow */
.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(0, 115, 170, 0.3);
}

.btn-outline:hover {
    box-shadow: 0 10px 40px rgba(0, 115, 170, 0.15);
}

/* Button Ripple Effect */
.btn::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: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:active::before {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Button Icon Slide */
.btn .btn-icon,
.btn i {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover .btn-icon,
.btn:hover i {
    transform: translateX(5px);
}

/* ============================================
   6. CARD ANIMATIONS
   ============================================ */

/* Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.service-card .service-icon {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card .service-link .link-arrow {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-link .link-arrow {
    transform: translateX(8px);
}

/* Feature Cards */
.feature-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.feature-item .feature-icon {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Blog Cards */
.blog-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.blog-card .blog-image img {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-card .blog-link .link-arrow {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-link .link-arrow {
    transform: translateX(8px);
}

/* Team Cards */
.team-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.team-card .team-avatar {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .team-avatar {
    transform: scale(1.1) rotate(-5deg);
}

.team-card .team-social a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
    display: inline-block;
}

.team-card .team-social a:hover {
    transform: translateY(-3px);
}

/* ============================================
   7. PORTFOLIO CARDS
   ============================================ */
.portfolio-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-item .portfolio-image img {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.08);
}

.portfolio-overlay {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item:hover .portfolio-info {
    transform: scale(1);
    opacity: 1;
}

/* ============================================
   8. TESTIMONIALS
   ============================================ */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-card .testimonial-rating {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card:hover .testimonial-rating {
    transform: scale(1.05);
}

/* ============================================
   9. PRICING TABLES
   ============================================ */
.pricing-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    animation: pricingGlow 3s ease-in-out infinite;
}

@keyframes pricingGlow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 115, 170, 0.15);
    }
    50% {
        box-shadow: 0 10px 60px rgba(0, 115, 170, 0.3);
    }
}

.pricing-card .price {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-card:hover .price {
    transform: scale(1.05);
}

.pricing-card ul li {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
}

.pricing-card:hover ul li {
    transform: translateX(5px);
}

.pricing-card:hover ul li:nth-child(1) { transition-delay: 0.05s; }
.pricing-card:hover ul li:nth-child(2) { transition-delay: 0.1s; }
.pricing-card:hover ul li:nth-child(3) { transition-delay: 0.15s; }
.pricing-card:hover ul li:nth-child(4) { transition-delay: 0.2s; }
.pricing-card:hover ul li:nth-child(5) { transition-delay: 0.25s; }

/* ============================================
   10. FAQ ACCORDION
   ============================================ */
.faq-item {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item .faq-question {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item .faq-toggle {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

/* ============================================
   11. COUNTER ANIMATION
   ============================================ */
.stat-number {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-number.counter-animated {
    animation: counterPulse 0.5s ease;
}

@keyframes counterPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ============================================
   12. HERO SECTION
   ============================================ */

/* Hero Fade In */
.hero-professional-content {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.2s;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Stagger Children */
.hero-professional-content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: heroStagger 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-professional-content > *:nth-child(1) { animation-delay: 0.3s; }
.hero-professional-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-professional-content > *:nth-child(3) { animation-delay: 0.5s; }
.hero-professional-content > *:nth-child(4) { animation-delay: 0.6s; }
.hero-professional-content > *:nth-child(5) { animation-delay: 0.7s; }
.hero-professional-content > *:nth-child(6) { animation-delay: 0.8s; }

@keyframes heroStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Floating Cards */
.floating-card {
    animation: floatY 3s ease-in-out infinite;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: 1.5s; }
.card-3 { animation-delay: 0.8s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Hero Image Zoom */
.hero-main-image {
    animation: heroZoom 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-delay: 0.1s;
}

@keyframes heroZoom {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   13. CLIENTS SECTION
   ============================================ */
.client-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.client-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.client-item .client-emoji {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.client-item:hover .client-emoji {
    transform: rotate(10deg) scale(1.2);
}

/* ============================================
   14. ABOUT SECTION
   ============================================ */
.about-feature {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
}

.about-feature:hover {
    transform: translateX(5px);
    color: var(--primary-color, #0073aa);
}

.about-feature .feature-icon {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-feature:hover .feature-icon {
    transform: scale(1.2);
}

.about-experience {
    animation: experiencePulse 2s ease-in-out infinite;
}

@keyframes experiencePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================
   15. FOOTER
   ============================================ */
.footer-social a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.1);
}

.footer-widget ul li a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.footer-widget ul li a:hover {
    transform: translateX(5px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color, #0073aa);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--secondary-color, #005177);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ============================================
   16. FORMS
   ============================================ */
.form-group input,
.form-group textarea,
.form-group select {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    transform: scale(1.01);
    box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.1);
}

/* Floating Labels */
.floating-label {
    position: relative;
}

.floating-label input,
.floating-label textarea {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-label label {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: top left;
}

.floating-label input:focus + label,
.floating-label textarea:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:not(:placeholder-shown) + label {
    transform: translateY(-20px) scale(0.85);
}

/* Form Success Animation */
.form-success {
    animation: formSuccess 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes formSuccess {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Form Error Shake */
.form-error {
    animation: formShake 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes formShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* ============================================
   17. NEWSLETTER
   ============================================ */
.newsletter-form input[type="email"] {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.newsletter-form input[type="email"]:focus {
    transform: scale(1.02);
}

.newsletter-form .btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.newsletter-form .btn:hover {
    transform: translateX(5px);
}

/* ============================================
   18. MICRO INTERACTIONS
   ============================================ */

/* Icon Bounce */
.icon-bounce {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.icon-bounce:hover {
    animation: iconBounce 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.3); }
    60% { transform: scale(0.9); }
    80% { transform: scale(1.1); }
}

/* Pulse Effect */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Hover Lift */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

/* Glow Effect */
.glow-effect {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(0, 115, 170, 0.2);
}

/* ============================================
   19. PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f0f0f0;
    border-top-color: var(--primary-color, #0073aa);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   20. SKELETON LOADING
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonLoad 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeletonLoad {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   21. TOAST NOTIFICATIONS
   ============================================ */
.toast-notification {
    padding: 16px 24px;
    background: #333;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.success {
    background: #28a745;
}

.toast-notification.error {
    background: #dc3545;
}

.toast-notification.warning {
    background: #ffc107;
    color: #333;
}