/* ==========================================
   PREMIUM ANIMATIONS & EFFECTS CSS
   Modern, Smooth, Professional Animations
   ========================================== */

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

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Left Animation */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade In Right Animation */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Gradient Animation */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Slide In Bottom */
@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bounce In */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Glow Pulse */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(231, 123, 25, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(231, 123, 25, 0.8);
    }
}

/* ==========================================
   UTILITY ANIMATION CLASSES
   ========================================== */

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

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

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

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

.animate-shimmer {
    animation: shimmer 2s infinite;
}

.animate-gradient {
    animation: gradientMove 10s ease infinite;
    background-size: 200% 200%;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
}

.animate-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Animation Delays */
.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; }

/* ==========================================
   GLASS MORPHISM EFFECTS
   ========================================== */

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   PREMIUM HOVER EFFECTS
   ========================================== */

.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hover-glow {
    transition: all 0.4s ease;
    position: relative;
}

.hover-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(45deg, #e77b19, #0f6ab1, #e77b19);
    -webkit-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;
}

.hover-glow:hover::before {
    opacity: 1;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.hover-shine:hover::after {
    left: 100%;
}

/* ==========================================
   GRADIENT BACKGROUNDS
   ========================================== */

.gradient-primary {
    background: linear-gradient(135deg, #e77b19 0%, #f4a261 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #0f6ab1 0%, #2a9d8f 100%);
}

.gradient-mixed {
    background: linear-gradient(135deg, #e77b19 0%, #0f6ab1 100%);
}

.gradient-animated {
    background: linear-gradient(-45deg, #e77b19, #f4a261, #0f6ab1, #2a9d8f);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

/* ==========================================
   MODERN CARD STYLES
   ========================================== */

.premium-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e77b19, #0f6ab1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   TEXT ANIMATIONS
   ========================================== */

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

.text-gradient-animated {
    background: linear-gradient(-45deg, #e77b19, #f4a261, #0f6ab1, #2a9d8f);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 5s ease infinite;
}

.text-shadow-glow {
    text-shadow: 0 0 20px rgba(231, 123, 25, 0.5);
}

/* ==========================================
   BUTTON ENHANCEMENTS
   ========================================== */

.btn-premium {
    position: relative;
    overflow: hidden;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-premium:hover::before {
    width: 400px;
    height: 400px;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   LOADING ANIMATIONS
   ========================================== */

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(231, 123, 25, 0.2);
    border-top-color: #e77b19;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.dots-loading span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #e77b19;
    border-radius: 50%;
    margin: 0 5px;
    animation: pulse 1.4s ease-in-out infinite;
}

.dots-loading span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots-loading span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   PARTICLES & DECORATIVE ELEMENTS
   ========================================== */

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.floating-shapes span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(231, 123, 25, 0.1);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.floating-shapes span:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.floating-shapes span:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.floating-shapes span:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.floating-shapes span:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.floating-shapes span:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 18s;
}

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

@media (max-width: 768px) {
    .premium-card {
        padding: 25px;
    }
    
    .glass-card {
        border-radius: 15px;
    }
    
    .btn-premium {
        padding: 12px 30px;
    }
}

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

/* ==========================================
   PARALLAX EFFECTS
   ========================================== */

.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ==========================================
   IMAGE OVERLAY EFFECTS
   ========================================== */

.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231, 123, 25, 0.8), rgba(15, 106, 177, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-overlay:hover::after {
    opacity: 1;
}

.image-overlay img {
    transition: transform 0.6s ease;
}

.image-overlay:hover img {
    transform: scale(1.1);
}

/* ==========================================
   TIMELINE STYLES
   ========================================== */

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 30px;
    bottom: -50px;
    width: 2px;
    background: linear-gradient(180deg, #e77b19 0%, #0f6ab1 100%);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e77b19;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px #e77b19;
}

.timeline-item:last-child::before {
    display: none;
}

/* ==========================================
   COUNTER ANIMATION
   ========================================== */

.counter-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #e77b19 0%, #0f6ab1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   PRICING TABLE ENHANCEMENTS
   ========================================== */

.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(231, 123, 25, 0.3);
    border: 2px solid #e77b19;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   TESTIMONIAL STYLES
   ========================================== */

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 100px;
    color: rgba(231, 123, 25, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

/* ==========================================
   FORM ENHANCEMENTS
   ========================================== */

.form-floating-label {
    position: relative;
    margin-bottom: 25px;
}

.form-floating-label input,
.form-floating-label textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-floating-label input:focus,
.form-floating-label textarea:focus {
    border-color: #e77b19;
    box-shadow: 0 0 0 4px rgba(231, 123, 25, 0.1);
    outline: none;
}

.form-floating-label label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    background: #fff;
    padding: 0 5px;
}

.form-floating-label input:focus + label,
.form-floating-label input:not(:placeholder-shown) + label,
.form-floating-label textarea:focus + label,
.form-floating-label textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #e77b19;
}

/* ==========================================
   PROGRESS BAR ANIMATIONS
   ========================================== */

.progress-bar-animated {
    position: relative;
    height: 10px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-animated .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e77b19, #0f6ab1);
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar-animated .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}
