/* ============================================
   PROFESSIONAL ANIMATIONS FOR PMH
   ============================================ */

/* Text Effects */
.text-shimmer {
    background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 50%, #2563eb 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

.text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icon Animations */
.icon-bounce {
    animation: bounce 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.icon-rotate {
    animation: rotate 20s linear infinite;
}

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

/* Button Animations */
.btn-glow:hover {
    animation: glow 0.6s ease-in-out;
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(37, 99, 235, 0.5); }
    50% { box-shadow: 0 0 20px rgba(37, 99, 235, 0.8); }
    100% { box-shadow: 0 0 5px rgba(37, 99, 235, 0.5); }
}

.btn-expand {
    overflow: hidden;
    position: relative;
}

.btn-expand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

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

/* Card Animations */
.card-tilt {
    perspective: 1000px;
}

.card-tilt:hover {
    transform: rotateY(5deg) rotateX(-5deg);
    transition: transform 0.5s ease;
}

.pulse-ring {
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* Number Counter Animation */
.counter {
    animation: countUp 2s ease-out;
}

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

/* Line Animation */
.line-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s ease-in-out forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Underline Animation */
.underline-animate {
    position: relative;
    display: inline-block;
}

.underline-animate::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.underline-animate:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Image Animations */
.image-float {
    animation: float 6s ease-in-out infinite;
}

.image-zoom:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

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

.text-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: sweep 2s infinite;
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Loading Animation */
.loading-bar {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9, #2563eb);
    background-size: 200% 100%;
    animation: loading 2s ease-in-out infinite;
}

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

/* Blur to Clear Animation */
.blur-in {
    animation: blurIn 1s ease-out both;
}

@keyframes blurIn {
    from {
        filter: blur(10px);
        opacity: 0;
    }
    to {
        filter: blur(0);
        opacity: 1;
    }
}

/* Flip Animation */
.flip {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip:hover {
    transform: rotateY(180deg);
}

/* Wave Animation */
.wave {
    animation: wave 0.6s ease-in-out;
    transform-origin: 70% 70%;
    display: inline-block;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/* Gradient Shift */
.gradient-shift {
    background: linear-gradient(-45deg, #2563eb, #0ea5e9, #06b6d4, #2563eb);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

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

/* Smooth Page Transition */
.page-enter {
    animation: pageEnter 0.5s ease-out;
}

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

/* Professional Fade */
.fade-in-slow {
    animation: fadeInSlow 2s ease-out;
}

@keyframes fadeInSlow {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Border Animation */
.border-animate {
    position: relative;
    background: white;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    animation: borderShine 3s infinite;
}

@keyframes borderShine {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    100% {
        transform: translateX(100%) translateY(100%);
    }
}

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


