/* Custom Animations */

body {
    padding: 10;
}

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

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

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

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up-delayed {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up-delayed-2 {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-delayed {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce-gentle {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

.animate-fade-in {
    animation: fade-in 1s ease-out;
}

.animate-slide-up {
    animation: slide-up 1s ease-out;
}

.animate-slide-up-delayed {
    animation: slide-up-delayed 1s ease-out 0.3s both;
}

.animate-slide-up-delayed-2 {
    animation: slide-up-delayed-2 1s ease-out 0.6s both;
}

.animate-fade-in-delayed {
    animation: fade-in-delayed 1s ease-out 0.8s both;
}

.animate-pulse-gentle {
    animation: pulse 2s ease-in-out infinite;
}

.animate-bounce-gentle {
    animation: bounce-gentle 2s ease-in-out infinite;
}

/* Custom Hover Effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.testimonial-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(160, 79, 143, 0.1), transparent);
    transition: left 0.5s;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Service Card Gradient Overlays */
.service-card-purple {
    background: linear-gradient(135deg, #A04F8F 0%, #B897C7 100%);
}

.service-card-orange {
    background: linear-gradient(135deg, #FA7342 0%, #FFB366 100%);
}

.service-card-green {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

.service-card-blue {
    background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
}

.service-card-pink {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
}

.service-card-red {
    background: linear-gradient(135deg, #EF4444 0%, #FB7185 100%);
}

/* Sticky CTA Animations */
#stickyCTA.show {
    opacity: 1;
    transform: translateY(0);
}

#stickyCTA.hide {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

#stickyCTA:hover {
    transform: translateY(0) scale(1.05);
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #A04F8F;
    border-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #A04F8F;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8a4279;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Button Hover Effects */
.btn-gradient {
    background: linear-gradient(45deg, #A04F8F, #FA7342);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

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

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Text Shadow for Contrast */
.text-shadow-sm {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.text-shadow-md {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.text-shadow-lg {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .animate-slide-up,
    .animate-slide-up-delayed,
    .animate-slide-up-delayed-2 {
        animation-duration: 0.8s;
    }
    
    .card-hover:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    #stickyCTA {
        bottom: 20px;
        right: 20px;
        left: 20px;
        width: auto;
        max-width: 50%;
        margin: 0 auto;
    }
    
    #stickyCTA > div {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        text-align: center;
    }
    
    #stickyCTA .flex {
        justify-content: center;
    }
}

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

/* Focus Indicators */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #A04F8F;
    outline-offset: 2px;
}

/* Custom Radio/Checkbox Styles */
input[type="radio"]:checked,
input[type="checkbox"]:checked {
    background-color: #A04F8F;
    border-color: #A04F8F;
}

/* Text Selection */
::selection {
    background-color: #A04F8F;
    color: white;
}

::-moz-selection {
    background-color: #A04F8F;
    color: white;
}

/* Print Styles */
@media print {
    .animate-float,
    .animate-float-delayed,
    #stickyCTA {
        display: none !important;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}