/* Vertical Call Now Button - Rotated Style */
.vertical-call-now {
    position: fixed;
    right: 20px;
    top: 40%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right center;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    font-weight: 700;
    font-size: 14px;
    animation: callPulse 2s ease-in-out infinite, glowEffect 1.5s ease-in-out infinite;
    transition: all 0.3s ease;
}

.vertical-call-now::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: shine 3s infinite;
}

.vertical-call-now:hover {
    background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.6);
    color: #fff;
    text-decoration: none;
}

.vertical-call-now i {
    transform: rotate(200deg);
    animation: phoneShake 1.5s ease-in-out infinite;
}

.vertical-call-now svg {
    transform: rotate(200deg);
    animation: phoneShake 1.5s ease-in-out infinite;
}

/* Simple Pulse Animation */
@keyframes callPulse {

    0%,
    100% {
        transform: translateY(-50%) rotate(-90deg) scale(1);
    }

    50% {
        transform: translateY(-50%) rotate(-90deg) scale(1.03);
    }
}

/* Phone Shake Animation - keeps 200deg base */
@keyframes phoneShake {

    0%,
    100% {
        transform: rotate(200deg);
    }

    15% {
        transform: rotate(190deg);
    }

    30% {
        transform: rotate(210deg);
    }

    45% {
        transform: rotate(190deg);
    }

    60%,
    100% {
        transform: rotate(200deg);
    }
}

/* Glow Effect Animation */
@keyframes glowEffect {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(40, 167, 69, 0.7), 0 0 10px rgba(40, 167, 69, 0.5);
    }
}

/* Shine Effect Animation */
@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .vertical-call-now {
        padding: 15px 10px;
        font-size: 13px;
    }

    .vertical-call-now svg {
        width: 20px;
        height: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .vertical-call-now {
        padding: 12px 8px;
        font-size: 12px;
    }

    .vertical-call-now svg {
        width: 18px;
        height: 18px;
    }
}