:root {
--accent: #fe5b2c !important;
--primary: #18333b !important;
--secondary: #67797e !important;
--primary-font: Unna, sans-serif;
--secondary-font: Roboto, sans-serif;
}

/* ============================================
   WEALTHMILL ASSOCIATE - ENHANCED ANIMATIONS
   For Tax &amp; Accounting Consulting Website
   Version: 2.0 | Includes all animations + new features
============================================== */

/* ========== 1. CORE ANIMATION KEYFRAMES ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

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

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

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

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

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

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========== 2. PAGE SECTION ANIMATIONS ========== */
/* Basic fade-in for all sections */
.page-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered delays for multi-column layouts */
.stagger-children &gt; *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children &gt; *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children &gt; *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children &gt; *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children &gt; *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children &gt; *:nth-child(6) { animation-delay: 0.6s; }

/* Direction-specific animations */
.animate-left { animation: fadeInLeft 0.8s ease-out forwards; }
.animate-right { animation: fadeInRight 0.8s ease-out forwards; }

/* ========== 3. SERVICE CARDS ENHANCEMENT ========== */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: white;
}

/* Hover effects */
.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Service-specific accent colors */
.service-card.tax-service {
    border-top: 4px solid #2ecc71; /* Green for tax */
}

.service-card.accounting-service {
    border-top: 4px solid #3498db; /* Blue for accounting */
}

.service-card.business-service {
    border-top: 4px solid #9b59b6; /* Purple for business services */
}

.service-card.advisory-service {
    border-top: 4px solid #e74c3c; /* Red for advisory */
}

/* Icon animations in service cards */
.service-card .card-icon {
    transition: transform 0.5s ease;
    display: inline-block;
}

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

/* ========== 4. BUTTON &amp; CTA ANIMATIONS ========== */
/* Primary buttons */
.btn-primary, .cta-button {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 14px 35px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary:hover, .cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 25px rgba(52, 152, 219, 0.35);
}

/* Pulse effect for important CTAs */
.cta-pulse {
    animation: pulse 2s infinite;
}

/* Shimmer effect for special offers */
.btn-shimmer {
    background: linear-gradient(90deg, #2c3e50, #3498db, #2c3e50);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

/* Floating action button */
.btn-float {
    animation: float 3s ease-in-out infinite;
}

/* ========== 5. STATISTICS &amp; NUMBERS ========== */
.counter-container {
    perspective: 1000px;
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    display: inline-block;
    font-family: &#039;Arial&#039;, sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.counter-number.animate {
    animation: countUp 1.2s ease-out forwards;
}

.counter-label {
    color: #7f8c8d;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    display: block;
}

/* ========== 6. TESTIMONIAL SLIDER ANIMATIONS ========== */
.testimonial-slide {
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.8s ease;
    opacity: 0.5;
    transform: scale(0.9);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-quote {
    position: relative;
    padding-left: 30px;
}

.testimonial-quote:before {
    content: &#039;&quot;&#039;;
    font-size: 5rem;
    color: #3498db;
    opacity: 0.2;
    position: absolute;
    left: -15px;
    top: -25px;
    font-family: Georgia, serif;
}

/* ========== 7. FORM &amp; INTERACTIVE ELEMENTS ========== */
/* Form input animations */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid #ecf0f1;
}

.form-input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

/* Loading states */
.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* Page transition loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-text {
    margin-top: 20px;
    color: #3498db;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* ========== 8. NAVIGATION &amp; MENU ANIMATIONS ========== */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:after {
    content: &#039;&#039;;
    position: absolute;
    width: 0;
    height: 2px;
    background: #2ecc71;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* Dropdown animation */
.dropdown-menu {
    animation: fadeInUp 0.3s ease-out;
    transform-origin: top center;
}

/* ========== 9. SPECIAL FEATURES (NEW) ========== */
/* 9.1 Typewriter effect for hero text */
.typewriter-text {
    overflow: hidden;
    border-right: 3px solid #3498db;
    white-space: nowrap;
    margin: 0 auto;
    animation: typewriter 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #3498db; }
}

/* 9.2 Financial chart animation */
.chart-bar {
    transform-origin: bottom;
    animation: growBar 1.5s ease-out forwards;
}

@keyframes growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* 9.3 Confidential badge animation */
.confidential-badge {
    background: linear-gradient(45deg, #2c3e50, #34495e);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.8rem;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 9.4 Progress tracker for service steps */
.progress-step {
    position: relative;
    transition: all 0.4s ease;
}

.progress-step.completed .step-icon {
    background: #2ecc71;
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(46, 204, 113, 0.2);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #bdc3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    transition: all 0.4s ease;
}

/* 9.5 Document/file animation */
.document-card {
    transition: all 0.5s ease;
    position: relative;
}

.document-card:hover {
    transform: rotate(2deg) translateY(-10px);
    z-index: 10;
}

/* 9.6 Trust indicator animation */
.trust-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.trust-pulse {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

/* ========== 10. RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .btn-primary, .cta-button {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
}

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

/* ========== 11. UTILITY CLASSES ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { animation-delay: 0.2s !important; }
.delay-2 { animation-delay: 0.4s !important; }
.delay-3 { animation-delay: 0.6s !important; }
.delay-4 { animation-delay: 0.8s !important; }
.delay-5 { animation-delay: 1s !important; }

/* ========== 12. PRINT STYLES ========== */
@media print {
    .page-loader,
    .cta-button,
    .btn-primary,
    .service-card:hover {
        display: none !important;
    }
    
    * {
        animation: none !important;
        transition: none !important;
    }
}