html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ============================================
   AUTO MECHANIX - DARK THEME STYLES
   ============================================ */

/* CSS Custom Properties for Dark Theme */
:root {
    --amx-primary: #FF6B00;
    --amx-secondary: #FFB800;
    --amx-background: #1A1A1A;
    --amx-surface: #2D2D2D;
    --amx-surface-light: #3A3A3A;
    --amx-text-primary: #FFFFFF;
    --amx-text-secondary: #A0A0A0;
    --amx-success: #00C853;
    --amx-glow: rgba(255, 107, 0, 0.3);
}

/* Stats Bar - Glassmorphism Effect */
.stats-bar {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.9) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 107, 0, 0.3);
    border-bottom: 1px solid rgba(255, 107, 0, 0.3);
    padding: 2rem 0;
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-icon {
    color: var(--amx-primary) !important;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: var(--amx-primary) !important;
    font-weight: 700 !important;
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
}

.stat-label {
    color: var(--amx-text-secondary) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem !important;
    margin-top: 0.25rem;
}

/* Trust Badges Section */
.trust-badges {
    background: var(--amx-surface);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--amx-text-secondary);
    font-size: 0.875rem;
}

.trust-badge .mud-icon-root {
    color: var(--amx-success) !important;
}

/* Feature Boxes - Why Choose Us */
.feature-box {
    background: linear-gradient(145deg, var(--amx-surface) 0%, var(--amx-surface-light) 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 107, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    border-color: var(--amx-primary);
    box-shadow: 0 8px 32px var(--amx-glow);
    transform: translateY(-4px);
}

.feature-box .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amx-primary) 0%, var(--amx-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-box .feature-icon .mud-icon-root {
    color: white !important;
    font-size: 2rem !important;
}

.feature-box h6 {
    color: var(--amx-text-primary) !important;
    margin-bottom: 0.5rem !important;
}

.feature-box p {
    color: var(--amx-text-secondary) !important;
    font-size: 0.875rem;
    margin: 0;
}

/* Service Card Enhancements for Dark Theme */
.service-card-dark {
    background: var(--amx-surface) !important;
    border: 1px solid rgba(255, 107, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.service-card-dark:hover {
    border-color: var(--amx-primary) !important;
    box-shadow: 0 8px 32px var(--amx-glow) !important;
    transform: translateY(-4px);
}

/* CTA Section with Gradient */
.cta-gradient {
    background: linear-gradient(135deg, var(--amx-primary) 0%, #CC5500 100%);
    position: relative;
    overflow: hidden;
}

.cta-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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='%23000000' fill-opacity='0.1'%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");
    opacity: 0.3;
}

/* Section Divider */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--amx-primary) 50%, transparent 100%);
    margin: 0;
    border: none;
}

/* Orange Accent Border */
.orange-accent-left {
    border-left: 4px solid var(--amx-primary);
    padding-left: 1rem;
}

/* Testimonial Card Dark Theme */
.testimonial-card-dark {
    background: var(--amx-surface) !important;
    border: 1px solid rgba(255, 107, 0, 0.1) !important;
}

.testimonial-card-dark .mud-rating .mud-icon-root {
    color: var(--amx-secondary) !important;
}

/* Emergency Contact Highlight */
.emergency-highlight {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2) 0%, rgba(255, 184, 0, 0.1) 100%);
    border: 1px solid var(--amx-primary);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.emergency-highlight .mud-icon-root {
    color: var(--amx-primary) !important;
}

/* Portfolio Card Hover */
.portfolio-card-dark:hover {
    box-shadow: 0 8px 32px var(--amx-glow) !important;
}

/* Dark Theme Section Background */
.dark-section {
    background-color: var(--amx-background);
}

.dark-section-alt {
    background-color: var(--amx-surface);
}

/* Heading with Orange Underline */
.heading-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.heading-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--amx-primary) 0%, var(--amx-secondary) 100%);
    border-radius: 2px;
}

/* WhatsApp Button Pulse Animation */
.whatsapp-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .stats-bar {
        margin-top: -40px;
        padding: 1.5rem 0;
    }

    .stat-value {
        font-size: 1.75rem !important;
    }

    .stat-label {
        font-size: 0.65rem !important;
    }

    .feature-box {
        padding: 1.5rem;
    }

    .feature-box .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-box .feature-icon .mud-icon-root {
        font-size: 1.5rem !important;
    }
}

/* Hero Section Full Height Option */
.hero-full-height {
    min-height: 100vh !important;
}

.hero-gradient-overlay::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(26, 26, 26, 0.9) 100%) !important;
}

/* AppBar Dark Theme Enhancement */
.appbar-dark {
    background: linear-gradient(90deg, #1A1A1A 0%, #2D2D2D 100%) !important;
    border-bottom: 1px solid rgba(255, 107, 0, 0.3);
}

/* Footer Dark Theme */
.footer-dark {
    background: linear-gradient(180deg, #2D2D2D 0%, #1A1A1A 100%);
    border-top: 1px solid rgba(255, 107, 0, 0.3);
}

/* Form Input Dark Theme */
.dark-input .mud-input-control {
    background: var(--amx-surface) !important;
}

.dark-input .mud-input {
    color: var(--amx-text-primary) !important;
}

/* Card Image Overlay */
.card-image-overlay {
    position: relative;
}

.card-image-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    pointer-events: none;
}

/* ============================================
   ANIMATION LIBRARY - SCROLL TRIGGERED
   ============================================ */

/* Base scroll animation - fade up from below */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from left */
.scroll-animate-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.scroll-animate-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up with fade */
.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate-scale.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay utility classes */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   HERO ENTRANCE ANIMATIONS
   ============================================ */

.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-animate.hero-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-animate.delay-1 { transition-delay: 0.2s; }
.hero-animate.delay-2 { transition-delay: 0.4s; }
.hero-animate.delay-3 { transition-delay: 0.6s; }

/* Parallax hero background */
.hero-parallax {
    background-attachment: scroll; /* Fixed doesn't work well on mobile */
    will-change: background-position;
}

/* Hero overlay with animated pulse */
.hero-overlay-pulse::before {
    animation: overlayPulse 4s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(26, 26, 26, 0.95) 100%);
    }
    50% {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(26, 26, 26, 0.9) 100%);
    }
}

/* Scroll indicator at bottom of hero */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator-inner {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator-inner::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--amx-primary);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

/* ============================================
   COUNTER / STATS ANIMATIONS
   ============================================ */

.stats-bar-animated {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 107, 0, 0.4);
    border-bottom: 1px solid rgba(255, 107, 0, 0.4);
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.15);
}

.stat-item-animated {
    text-align: center;
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item-animated.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-value-animated {
    color: var(--amx-primary) !important;
    font-weight: 700 !important;
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.stat-icon-glow {
    color: var(--amx-primary) !important;
    filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.5));
    margin-bottom: 0.5rem;
}

/* ============================================
   PREMIUM HOVER EFFECTS
   ============================================ */

/* Glow border on hover */
.card-glow-hover {
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.card-glow-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    -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;
    opacity: 0;
    transition: opacity 0.4s ease, background 0.4s ease;
    pointer-events: none;
}

.card-glow-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.25),
                0 0 60px rgba(255, 107, 0, 0.1);
}

.card-glow-hover:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--amx-primary) 0%, var(--amx-secondary) 100%);
}

/* Shine sweep effect */
.card-shine-hover {
    position: relative;
    overflow: hidden;
}

.card-shine-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.card-shine-hover:hover::after {
    left: 120%;
}

/* Combined premium card effect */
.premium-card {
    background: var(--amx-surface) !important;
    border: 1px solid rgba(255, 107, 0, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}

.premium-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.06),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.premium-card:hover {
    border-color: var(--amx-primary) !important;
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.2),
                0 0 0 1px rgba(255, 107, 0, 0.3) !important;
    transform: translateY(-8px);
}

.premium-card:hover::after {
    left: 120%;
}

/* 3D tilt effect preparation */
.card-tilt {
    transition: transform 0.15s ease;
    transform-style: preserve-3d;
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */

/* Animated gradient background */
.animated-gradient-bg {
    background: linear-gradient(-45deg, #1A1A1A, #2D2D2D, #1A1A1A, #252525);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating-particle {
    position: absolute;
    bottom: -20px;
    width: 4px;
    height: 4px;
    background: rgba(255, 107, 0, 0.3);
    border-radius: 50%;
    animation: floatUp 20s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Subtle noise texture overlay */
.noise-overlay {
    position: relative;
}

.noise-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   TYPOGRAPHY ANIMATIONS
   ============================================ */

/* Gradient text animation */
.gradient-text-animated {
    background: linear-gradient(90deg, var(--amx-primary), var(--amx-secondary), var(--amx-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease-in-out infinite;
}

@keyframes gradientText {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* Animated underline on headings */
.heading-underline-animated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--amx-primary) 0%, var(--amx-secondary) 100%);
    border-radius: 2px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.heading-underline-animated.animate-in::after {
    transform: translateX(-50%) scaleX(1);
}

/* Link hover underline animation */
.link-hover-underline {
    position: relative;
    text-decoration: none;
}

.link-hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--amx-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.link-hover-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ============================================
   CTA SECTION ANIMATIONS
   ============================================ */

.cta-gradient-animated {
    background: linear-gradient(135deg, var(--amx-primary) 0%, #CC5500 50%, var(--amx-primary) 100%);
    background-size: 200% 200%;
    animation: ctaGradient 8s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes ctaGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-gradient-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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='%23000000' fill-opacity='0.1'%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");
    opacity: 0.3;
}

/* Button pulse effect */
.btn-pulse {
    position: relative;
    overflow: visible;
}

.btn-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    opacity: 0;
    z-index: -1;
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* Button glow on hover */
.btn-glow-hover {
    transition: all 0.3s ease;
}

.btn-glow-hover:hover {
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.5),
                0 0 60px rgba(255, 107, 0, 0.3);
}

/* ============================================
   PORTFOLIO CARD EFFECTS
   ============================================ */

.portfolio-card-animated {
    position: relative;
    overflow: hidden;
}

.portfolio-card-animated .mud-card-media {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card-animated:hover .mud-card-media {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 0, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    pointer-events: none;
}

.portfolio-card-animated:hover .portfolio-overlay {
    opacity: 1;
}

/* ============================================
   TESTIMONIAL CARD EFFECTS
   ============================================ */

.testimonial-quote-mark {
    font-size: 4rem;
    line-height: 1;
    color: var(--amx-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
    position: absolute;
    top: -10px;
    left: 10px;
}

.testimonial-card-animated .mud-rating {
    opacity: 0;
    animation: ratingShimmer 0.6s ease forwards;
    animation-delay: 0.3s;
}

@keyframes ratingShimmer {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   FEATURE BOX ANIMATIONS
   ============================================ */

.feature-box-animated {
    background: linear-gradient(145deg, var(--amx-surface) 0%, var(--amx-surface-light) 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 107, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-box-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 107, 0, 0.05),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.feature-box-animated:hover {
    border-color: var(--amx-primary);
    box-shadow: 0 15px 40px var(--amx-glow);
    transform: translateY(-8px);
}

.feature-box-animated:hover::before {
    left: 120%;
}

.feature-icon-animated {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amx-primary) 0%, var(--amx-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.feature-box-animated:hover .feature-icon-animated {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
}

.feature-icon-animated .mud-icon-root {
    color: white !important;
    font-size: 2rem !important;
}

/* ============================================
   TRUST BADGES ANIMATIONS
   ============================================ */

.trust-badge-animated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--amx-text-secondary);
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.trust-badge-animated.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.trust-badge-animated .mud-icon-root {
    color: var(--amx-success) !important;
    transition: all 0.3s ease;
}

.trust-badge-animated:hover .mud-icon-root {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.5));
}

/* ============================================
   FOOTER ANIMATIONS
   ============================================ */

.footer-animated {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-animated.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.footer-link-animated {
    position: relative;
    transition: color 0.3s ease;
}

.footer-link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amx-primary);
    transition: width 0.3s ease;
}

.footer-link-animated:hover {
    color: var(--amx-primary) !important;
}

.footer-link-animated:hover::after {
    width: 100%;
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */

.section-divider-animated {
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--amx-primary) 20%, var(--amx-secondary) 50%, var(--amx-primary) 80%, transparent 100%);
    background-size: 200% 100%;
    animation: dividerGlow 3s ease-in-out infinite;
    margin: 0;
    border: none;
}

@keyframes dividerGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Diagonal section divider */
.diagonal-divider {
    position: relative;
    height: 80px;
    background: linear-gradient(to right bottom, transparent 49.5%, var(--amx-primary) 50%, var(--amx-primary) 50.5%, var(--amx-surface) 51%);
}

/* ============================================
   REDUCED MOTION SUPPORT
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .scroll-animate-left,
    .scroll-animate-right,
    .scroll-animate-scale,
    .hero-animate,
    .stat-item-animated,
    .trust-badge-animated,
    .footer-animated {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .scroll-indicator,
    .floating-particle,
    .animated-gradient-bg,
    .cta-gradient-animated,
    .gradient-text-animated,
    .section-divider-animated {
        animation: none !important;
    }

    .card-glow-hover:hover,
    .premium-card:hover,
    .feature-box-animated:hover {
        transform: none !important;
    }
}

/* ============================================
   RESPONSIVE ANIMATION ADJUSTMENTS
   ============================================ */

@media (max-width: 600px) {
    .scroll-indicator {
        display: none;
    }

    .stat-value-animated {
        font-size: 1.75rem !important;
    }

    .feature-icon-animated {
        width: 48px;
        height: 48px;
    }

    .feature-icon-animated .mud-icon-root {
        font-size: 1.5rem !important;
    }

    .testimonial-quote-mark {
        font-size: 2.5rem;
    }

    /* Reduce animation intensity on mobile */
    .scroll-animate {
        transform: translateY(20px);
    }

    .scroll-animate-left,
    .scroll-animate-right {
        transform: translateX(30px);
    }
}
