/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Form - Let original CSS handle most styling */
#form input {
    font-size: 16px; /* Prevents zoom on iOS */
}

/* Form message styling */
#form-message {
    width: 100%;
    box-sizing: border-box;
}

/* Simple form message styling */

/* Ensure button is visible and clickable */
.button-div .button {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

/* CTA phone number styling - Remove custom styling to use original */
.cta .tel {
    display: inline-block;
    text-decoration: none;
}

/* Sticky Call Button */
.sticky-call-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.sticky-call-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
}

.sticky-call-button:active {
    transform: scale(0.95);
}

.sticky-call-button svg {
    width: 28px;
    height: 28px;
    animation: ring 2s ease-in-out infinite;
}

/* Ring animation for call button */
@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

/* Pulse effect */
.sticky-call-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(39, 174, 96, 0.4);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobile adjustments - Make it bigger and more prominent */
@media screen and (max-width: 479px) {
    .sticky-call-button {
        bottom: 20px;
        right: 20px;
        width: 70px;
        height: 70px;
    }
    
    .sticky-call-button svg {
        width: 32px;
        height: 32px;
    }
}

/* Tablet adjustments */
@media screen and (min-width: 480px) and (max-width: 799px) {
    .sticky-call-button {
        width: 65px;
        height: 65px;
    }
    
    .sticky-call-button svg {
        width: 30px;
        height: 30px;
    }
}
