/* ===== PREMIUM ANIMATIONS SYSTEM ===== */
/* Sai Nishita Safety Nets */
/* Designed by TechByHit */
/* Version: 3.0 | Glassmorphism + Micro-interactions */

/* ===== CSS VARIABLES ===== */
:root {
    --animation-fast: 0.3s;
    --animation-medium: 0.6s;
    --animation-slow: 1s;
    --animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --animation-smooth: cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* ===== KEYFRAMES - ENTRANCE ANIMATIONS ===== */

/* Fade In */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Fade Out */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade Out Down */
@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Fade Out Up */
@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Zoom In */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Zoom Out */
@keyframes zoomOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Slide In Up */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Slide In Down */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Slide Out Down */
@keyframes slideOutDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

/* Slide Out Up */
@keyframes slideOutUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

/* Slide Out Right */
@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(400px);
    }
}

/* ===== KEYFRAMES - ATTENTION SEEKERS ===== */

/* Pulse */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(10, 75, 122, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(10, 75, 122, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(10, 75, 122, 0.2);
    }
}

/* Bounce */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(-15px);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Shake */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Swing */
@keyframes swing {
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* Tada */
@keyframes tada {
    0% { transform: scale(1); }
    10%, 20% { transform: scale(0.9) rotate(-3deg); }
    30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
    40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
    100% { transform: scale(1) rotate(0); }
}

/* Wobble */
@keyframes wobble {
    0% { transform: translateX(0%); }
    15% { transform: translateX(-25%) rotate(-5deg); }
    30% { transform: translateX(20%) rotate(3deg); }
    45% { transform: translateX(-15%) rotate(-3deg); }
    60% { transform: translateX(10%) rotate(2deg); }
    75% { transform: translateX(-5%) rotate(-1deg); }
    100% { transform: translateX(0%) rotate(0); }
}

/* Jello */
@keyframes jello {
    0%, 11.1%, 100% { transform: none; }
    22.2% { transform: skewX(-12.5deg) skewY(-12.5deg); }
    33.3% { transform: skewX(6.25deg) skewY(6.25deg); }
    44.4% { transform: skewX(-3.125deg) skewY(-3.125deg); }
    55.5% { transform: skewX(1.5625deg) skewY(1.5625deg); }
    66.6% { transform: skewX(-0.78125deg) skewY(-0.78125deg); }
    77.7% { transform: skewX(0.390625deg) skewY(0.390625deg); }
    88.8% { transform: skewX(-0.1953125deg) skewY(-0.1953125deg); }
}

/* ===== KEYFRAMES - SPECIAL EFFECTS ===== */

/* Glow */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(44, 126, 182, 0.3),
                    0 0 10px rgba(44, 126, 182, 0.2),
                    0 0 15px rgba(44, 126, 182, 0.1);
    }
    50% {
        box-shadow: 0 0 10px rgba(44, 126, 182, 0.5),
                    0 0 20px rgba(44, 126, 182, 0.3),
                    0 0 30px rgba(44, 126, 182, 0.2);
    }
}

/* Float */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Rotate */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Spin */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ripple */
@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Shimmer */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Typing */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Blink */
@keyframes blink {
    50% { border-color: transparent; }
}

/* Wave */
@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

/* Heartbeat */
@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Flip */
@keyframes flip {
    from {
        transform: perspective(400px) rotateY(0);
    }
    to {
        transform: perspective(400px) rotateY(360deg);
    }
}

/* Gradient */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Count Up */
@keyframes countUp {
    from {
        transform: scale(1.5);
        opacity: 0.5;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== KEYFRAMES - LOADING ANIMATIONS ===== */

/* Spinner */
@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Bounce Dots */
@keyframes bounceDots {
    0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Progress */
@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== KEYFRAMES - GLASSMORPHISM EFFECTS ===== */

/* Glass Shine */
@keyframes glassShine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Glass Pulse */
@keyframes glassPulse {
    0%, 100% {
        backdrop-filter: blur(8px);
        background: rgba(255, 255, 255, 0.7);
    }
    50% {
        backdrop-filter: blur(12px);
        background: rgba(255, 255, 255, 0.85);
    }
}

/* ===== KEYFRAMES - WHATSAPP PULSE ===== */

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== ENTRANCE ANIMATION CLASSES ===== */

.fade-in {
    animation: fadeIn var(--animation-medium) var(--animation-easing);
}

.fade-out {
    animation: fadeOut var(--animation-medium) var(--animation-easing);
}

.fade-in-up {
    animation: fadeInUp var(--animation-medium) var(--animation-easing);
}

.fade-in-down {
    animation: fadeInDown var(--animation-medium) var(--animation-easing);
}

.fade-in-left {
    animation: fadeInLeft var(--animation-medium) var(--animation-easing);
}

.fade-in-right {
    animation: fadeInRight var(--animation-medium) var(--animation-easing);
}

.fade-out-down {
    animation: fadeOutDown var(--animation-medium) var(--animation-easing);
}

.fade-out-up {
    animation: fadeOutUp var(--animation-medium) var(--animation-easing);
}

.zoom-in {
    animation: zoomIn var(--animation-medium) var(--animation-easing);
}

.zoom-out {
    animation: zoomOut var(--animation-medium) var(--animation-easing);
}

.slide-in-up {
    animation: slideInUp var(--animation-medium) var(--animation-easing);
}

.slide-in-down {
    animation: slideInDown var(--animation-medium) var(--animation-easing);
}

.slide-in-left {
    animation: slideInLeft var(--animation-medium) var(--animation-easing);
}

.slide-in-right {
    animation: slideInRight var(--animation-medium) var(--animation-easing);
}

.slide-out-down {
    animation: slideOutDown var(--animation-medium) var(--animation-easing);
}

.slide-out-up {
    animation: slideOutUp var(--animation-medium) var(--animation-easing);
}

.slide-out-right {
    animation: slideOutRight var(--animation-medium) var(--animation-easing);
}

/* ===== ATTENTION SEEKER CLASSES ===== */

.pulse {
    animation: pulse 2s infinite;
}

.pulse-hover:hover {
    animation: pulse 1s;
}

.bounce {
    animation: bounce 2s infinite;
}

.bounce-hover:hover {
    animation: bounce 1s;
}

.shake {
    animation: shake 0.8s;
}

.shake-hover:hover {
    animation: shake 0.5s;
}

.swing {
    transform-origin: top center;
    animation: swing 2s infinite;
}

.swing-hover:hover {
    animation: swing 1s;
}

.tada {
    animation: tada 1.5s;
}

.tada-hover:hover {
    animation: tada 1s;
}

.wobble {
    animation: wobble 1.5s;
}

.wobble-hover:hover {
    animation: wobble 1s;
}

.jello {
    animation: jello 1.5s;
}

.jello-hover:hover {
    animation: jello 1s;
}

/* ===== SPECIAL EFFECTS CLASSES ===== */

.glow {
    animation: glow 2s infinite;
}

.glow-hover:hover {
    animation: glow 1.5s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.float-hover:hover {
    animation: float 2s ease-in-out infinite;
}

.rotate {
    animation: rotate 2s linear infinite;
}

.rotate-hover:hover {
    animation: rotate 1s linear infinite;
}

.spin {
    animation: spin 2s linear infinite;
}

.spin-hover:hover {
    animation: spin 1s linear infinite;
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.heartbeat-hover:hover {
    animation: heartbeat 1s ease-in-out infinite;
}

.wave {
    animation: wave 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

.wave-hover:hover {
    animation: wave 1s ease-in-out;
}

.flip {
    animation: flip 2s linear infinite;
}

.flip-hover:hover {
    animation: flip 1s linear infinite;
}

/* ===== GLASSMORPHISM ANIMATIONS ===== */

.glass-shine {
    position: relative;
    overflow: hidden;
}

.glass-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
}

.glass-shine:hover::after {
    transform: translateX(100%);
    transition: transform 0.8s ease;
}

.glass-pulse {
    animation: glassPulse 3s infinite;
}

/* ===== RIPPLE EFFECT ===== */

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.ripple:hover::after {
    animation: ripple 1s ease-out;
}

/* ===== SHIMMER EFFECT ===== */

.shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ===== TYPING EFFECT ===== */

.typing {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-blue);
    animation: 
        typing 3.5s steps(40, end),
        blink 0.75s step-end infinite;
}

/* ===== LOADING ANIMATIONS ===== */

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-blue);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-sm {
    width: 25px;
    height: 25px;
    border-width: 2px;
}

.loader-lg {
    width: 60px;
    height: 60px;
    border-width: 4px;
}

.loader-dots {
    display: flex;
    gap: 5px;
}

.loader-dots div {
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: bounceDots 1.4s infinite ease-in-out both;
}

.loader-dots div:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-dots div:nth-child(2) {
    animation-delay: -0.16s;
}

.loader-progress {
    width: 100%;
    height: 4px;
    background: var(--light-blue);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    background: var(--primary-blue);
    animation: progress 2s ease-in-out infinite;
}

/* ===== TRANSITION CLASSES ===== */

.transition-all {
    transition: all var(--animation-fast) var(--animation-easing);
}

.transition-transform {
    transition: transform var(--animation-fast) var(--animation-easing);
}

.transition-opacity {
    transition: opacity var(--animation-fast) var(--animation-easing);
}

.transition-colors {
    transition: background-color var(--animation-fast) var(--animation-easing),
                border-color var(--animation-fast) var(--animation-easing),
                color var(--animation-fast) var(--animation-easing);
}

/* ===== HOVER EFFECTS ===== */

.hover-lift {
    transition: transform var(--animation-fast) var(--animation-easing);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-grow {
    transition: transform var(--animation-fast) var(--animation-easing);
}

.hover-grow:hover {
    transform: scale(1.05);
}

.hover-shrink {
    transition: transform var(--animation-fast) var(--animation-easing);
}

.hover-shrink:hover {
    transform: scale(0.95);
}

.hover-shadow {
    transition: box-shadow var(--animation-fast) var(--animation-easing);
}

.hover-shadow:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hover-border {
    position: relative;
}

.hover-border::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width var(--animation-fast) var(--animation-easing);
}

.hover-border:hover::after {
    width: 100%;
}

/* ===== CARD ANIMATIONS ===== */

.card-hover {
    transition: all var(--animation-medium) var(--animation-easing);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 75, 122, 0.15);
}

/* ===== IMAGE ANIMATIONS ===== */

.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform var(--animation-medium) var(--animation-easing);
}

.img-zoom:hover img {
    transform: scale(1.1);
}

.img-blur {
    overflow: hidden;
}

.img-blur img {
    transition: filter var(--animation-medium) var(--animation-easing);
}

.img-blur:hover img {
    filter: blur(2px);
}

.img-grayscale {
    overflow: hidden;
}

.img-grayscale img {
    transition: filter var(--animation-medium) var(--animation-easing);
}

.img-grayscale:hover img {
    filter: grayscale(100%);
}

.img-brightness {
    overflow: hidden;
}

.img-brightness img {
    transition: filter var(--animation-medium) var(--animation-easing);
}

.img-brightness:hover img {
    filter: brightness(1.1);
}

.img-contrast {
    overflow: hidden;
}

.img-contrast img {
    transition: filter var(--animation-medium) var(--animation-easing);
}

.img-contrast:hover img {
    filter: contrast(1.2);
}

/* ===== SCROLL ANIMATIONS ===== */

.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--animation-slow) var(--animation-easing),
                transform var(--animation-slow) var(--animation-easing);
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--animation-slow) var(--animation-easing),
                transform var(--animation-slow) var(--animation-easing);
}

.scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity var(--animation-slow) var(--animation-easing),
                transform var(--animation-slow) var(--animation-easing);
}

.scroll-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity var(--animation-slow) var(--animation-easing),
                transform var(--animation-slow) var(--animation-easing);
}

.scroll-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== DELAY CLASSES ===== */

.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; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* ===== DURATION CLASSES ===== */

.duration-100 { animation-duration: 0.1s; }
.duration-200 { animation-duration: 0.2s; }
.duration-300 { animation-duration: 0.3s; }
.duration-400 { animation-duration: 0.4s; }
.duration-500 { animation-duration: 0.5s; }
.duration-600 { animation-duration: 0.6s; }
.duration-700 { animation-duration: 0.7s; }
.duration-800 { animation-duration: 0.8s; }
.duration-900 { animation-duration: 0.9s; }
.duration-1000 { animation-duration: 1s; }

/* ===== ITERATION COUNT CLASSES ===== */

.infinite { animation-iteration-count: infinite; }
.once { animation-iteration-count: 1; }
.twice { animation-iteration-count: 2; }
.thrice { animation-iteration-count: 3; }

/* ===== TIMING FUNCTION CLASSES ===== */

.ease { animation-timing-function: ease; }
.ease-in { animation-timing-function: ease-in; }
.ease-out { animation-timing-function: ease-out; }
.ease-in-out { animation-timing-function: ease-in-out; }
.linear { animation-timing-function: linear; }
.bounce-timing { animation-timing-function: var(--animation-bounce); }
.smooth-timing { animation-timing-function: var(--animation-smooth); }

/* ===== FILL MODE CLASSES ===== */

.forwards { animation-fill-mode: forwards; }
.backwards { animation-fill-mode: backwards; }
.both { animation-fill-mode: both; }

/* ===== DIRECTION CLASSES ===== */

.normal { animation-direction: normal; }
.reverse { animation-direction: reverse; }
.alternate { animation-direction: alternate; }
.alternate-reverse { animation-direction: alternate-reverse; }

/* ===== PAGE TRANSITIONS ===== */

.page-enter {
    animation: fadeInUp var(--animation-slow) var(--animation-easing);
}

.page-exit {
    animation: fadeOutDown var(--animation-slow) var(--animation-easing);
}

/* ===== MODAL ANIMATIONS ===== */

.modal-enter {
    animation: fadeIn var(--animation-fast) var(--animation-easing);
}

.modal-enter .modal-content {
    animation: slideInUp var(--animation-fast) var(--animation-bounce);
}

.modal-exit {
    animation: fadeOut var(--animation-fast) var(--animation-easing);
}

.modal-exit .modal-content {
    animation: slideOutDown var(--animation-fast) var(--animation-easing);
}

/* ===== DROPDOWN ANIMATIONS ===== */

.dropdown-enter {
    animation: slideInDown var(--animation-fast) var(--animation-easing);
}

.dropdown-exit {
    animation: slideOutUp var(--animation-fast) var(--animation-easing);
}

/* ===== TOOLTIP ANIMATIONS ===== */

.tooltip-enter {
    animation: fadeInUp var(--animation-fast) var(--animation-easing);
}

.tooltip-exit {
    animation: fadeOutDown var(--animation-fast) var(--animation-easing);
}

/* ===== NOTIFICATION ANIMATIONS ===== */

.notification-enter {
    animation: slideInRight var(--animation-fast) var(--animation-bounce);
}

.notification-exit {
    animation: slideOutRight var(--animation-fast) var(--animation-easing);
}

/* ===== COUNTER ANIMATIONS ===== */

.count-up {
    animation: countUp 1s var(--animation-easing);
}

/* ===== TEXT ANIMATIONS ===== */

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    background-size: 200% 200%;
    background-position: 0% 50%;
    
    -webkit-background-clip: text;
    background-clip: text; /* added for better support */
    
    -webkit-text-fill-color: transparent;
    color: transparent; /* fallback */
    
    animation: gradientMove 4s ease-in-out infinite;
}


.text-stroke {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-blue);
    animation: fadeIn 1s ease;
}

/* ===== HERO SLIDER ANIMATIONS ===== */

.hero-slide-enter {
    animation: zoomIn 0.8s var(--animation-easing);
}

.hero-slide-exit {
    animation: zoomOut 0.8s var(--animation-easing);
}

/* ===== WHATSAPP BUTTON ANIMATIONS ===== */

.whatsapp-pulse {
    animation: whatsappPulse 2s infinite;
}

/* ===== GLASS CARD ANIMATIONS ===== */

.glass-card {
    transition: all var(--animation-medium) var(--animation-easing);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 75, 122, 0.12);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}

/* ===== NAVIGATION ANIMATIONS ===== */

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width var(--animation-fast) var(--animation-easing);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== MENU TOGGLE ANIMATIONS ===== */

.hamburger {
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 5px 0;
    transition: all var(--animation-fast) var(--animation-easing);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== SCROLL PROGRESS BAR ===== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
    z-index: 1001;
    transition: width 0.1s ease;
}

/* ===== LAZY LOAD ANIMATIONS ===== */

.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--animation-medium) var(--animation-easing),
                transform var(--animation-medium) var(--animation-easing);
}

.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SKELETON LOADING ===== */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--light-blue) 25%,
        #f0f8ff 50%,
        var(--light-blue) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ===== FORM ANIMATIONS ===== */

.form-input {
    transition: border-color var(--animation-fast) var(--animation-easing),
                box-shadow var(--animation-fast) var(--animation-easing);
}

.form-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 75, 122, 0.1);
}

.form-input.error {
    border-color: #ef4444;
    animation: shake 0.5s;
}

/* ===== BUTTON ANIMATIONS ===== */

.btn-primary, .btn-secondary, .btn-glass {
    transition: all var(--animation-fast) var(--animation-easing);
}

.btn-primary:hover, .btn-secondary:hover, .btn-glass:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 75, 122, 0.3);
}

/* ===== REDUCED MOTION ===== */
@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;
    }
    
    .hamburger span {
        transition: none !important;
    }
    
    .glass-card:hover {
        transform: none !important;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-glass:hover {
        transform: none !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    
    .glass-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* ===== DARK MODE ADAPTATION ===== */
@media (prefers-color-scheme: dark) {
    .glass-shine::after {
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent
        );
    }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    .glass-shine::after {
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent
        );
    }
    
    .text-gradient {
        -webkit-text-stroke: 1px black;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (min-width: 993px) {
    .glass-card,
    .btn-primary,
    .btn-secondary,
    .btn-glass,
    .nav-link::after,
    .hover-lift,
    .hover-grow,
    .hover-shadow {
        will-change: transform, box-shadow, opacity;
    }
}

/* ===== MOBILE PERFORMANCE ===== */
@media (max-width: 992px) {
    .glass-card:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-glass:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .hover-lift:hover,
    .hover-grow:hover,
    .hover-shadow:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .glass-shine::after {
        display: none;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
.touch-device .hover-lift:hover,
.touch-device .hover-grow:hover,
.touch-device .hover-shadow:hover {
    transform: none !important;
    box-shadow: none !important;
}

.touch-device .glass-card:hover {
    transform: none !important;
    box-shadow: var(--glass-shadow) !important;
}

.touch-device .glass-shine::after {
    display: none;
}

/* ===== ANIMATION UTILITY CLASSES ===== */
.animated {
    animation-duration: var(--animation-medium);
    animation-fill-mode: both;
}

.animated.fast {
    animation-duration: var(--animation-fast);
}

.animated.slow {
    animation-duration: var(--animation-slow);
}

.animated.infinite {
    animation-iteration-count: infinite;
}

.animated.delay-1s {
    animation-delay: 1s;
}

.animated.delay-2s {
    animation-delay: 2s;
}

.animated.delay-3s {
    animation-delay: 3s;
}

/* ===== FADE IN UTILITIES ===== */
.fade-in-up-sm {
    animation: fadeInUp 0.4s var(--animation-easing);
}

.fade-in-down-sm {
    animation: fadeInDown 0.4s var(--animation-easing);
}

.fade-in-left-sm {
    animation: fadeInLeft 0.4s var(--animation-easing);
}

.fade-in-right-sm {
    animation: fadeInRight 0.4s var(--animation-easing);
}

/* ===== ZOOM UTILITIES ===== */
.zoom-in-sm {
    animation: zoomIn 0.4s var(--animation-easing);
}

.zoom-in-lg {
    animation: zoomIn 0.8s var(--animation-easing);
}

/* ===== SLIDE UTILITIES ===== */
.slide-in-up-sm {
    animation: slideInUp 0.4s var(--animation-easing);
}

.slide-in-down-sm {
    animation: slideInDown 0.4s var(--animation-easing);
}

.slide-in-left-sm {
    animation: slideInLeft 0.4s var(--animation-easing);
}

.slide-in-right-sm {
    animation: slideInRight 0.4s var(--animation-easing);
}