/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes shake {
    0%, 90%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    91% {
        transform: translateX(-2px) rotate(-1deg);
    }
    92% {
        transform: translateX(2px) rotate(1deg);
    }
    93% {
        transform: translateX(-2px) rotate(-1deg);
    }
    94% {
        transform: translateX(2px) rotate(1deg);
    }
    95% {
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Call Button Container */
.call-button-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 40;
}

/* Call Button with Vibrate Shake */
/* Call Button with Vibrate Shake */
.call-button {
    position: relative;
    width: auto;
    padding-right: 24px;
    height: 64px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    border-radius: 50px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5);
    animation: shake 5s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.call-button:hover {
    transform: scale(1.05);
    animation: none;
}

.call-button i {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.call-button-text {
    white-space: nowrap;
    opacity: 1;
    font-size: 18px;
    font-weight: 700;
    transform: translateX(0);
    width: auto;
    overflow: visible;
}



/* Multiple Pulse Rings - Slower and Smoother */
.call-button::before,
.call-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #f97316;
    animation: pulse-ring 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    z-index: 1;
}

.call-button::after {
    animation-delay: 1s;
}

/* Third ring using pseudo-element on container helper if needed, 
   but currently attached to container which is just wrapper.
   Actually, the pulse-ring on .call-button-container::before in previous CSS 
   might be the one creating the effect. Let's check lines 106-119 in original.
   Wait, the user said 'ring pulse like expanding stretched'.
   If the pulse is on .call-button pseudo elements, using width:64px fixes it.
*/

/* Third ring using pseudo-element on container */
.call-button-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #f97316;
    animation: pulse-ring 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 2s;
    pointer-events: none;
}

/* Scroll to Top Button - More Visible */
.scroll-top-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 40;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.6);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.scroll-top-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(8, 145, 178, 0.8);
}

.pulse-ring {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.gradient-overlay {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.9) 0%, rgba(6, 182, 212, 0.8) 100%);
}

.gradient-overlay-dark {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* Smooth Transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(8, 145, 178, 0.4);
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-bg {
    background-image: url('https://images.unsplash.com/photo-1593784991095-a205069470b6?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Section Backgrounds */
.section-bg-1 {
    background-image: url('https://images.unsplash.com/photo-1522869635100-9f4c5e86aa37?w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.section-bg-2 {
    background-image: url('https://images.unsplash.com/photo-1551817958-d9d86fb29431?w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.section-bg-3 {
    background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pricing Card Special */
.pricing-card {
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.pricing-card:hover::before {
    left: 100%;
}

/* Input Focus Effects */
input:focus, textarea:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

html,body{
    overflow-x: hidden !important;
}