.mobile-phone:hover i {
    transform: rotate(-10deg);
}

/* Mobile Quote Popup */
.mobile-quote-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-quote-popup.active {
    display: block;
}

.mobile-quote-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.mobile-quote-popup.active .mobile-quote-overlay {
    transform: translateY(0);
}

.mobile-quote-content {
    position: relative;
    max-height: 90vh;
    padding: 20px 20px 0;
}

.close-quote-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    padding: 8px;
    cursor: pointer;
    z-index: 1;
}

.mobile-quote-form {
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.mobile-quote-form .form-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-right: 40px;
}

.mobile-quote-scroll {
    overflow-y: auto;
    max-height: calc(90vh - 180px);
    padding: 10px 0;
}

.mobile-quote-footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.mobile-quote-form .submit-button {
    margin: 0;
}

.mobile-quote-form .form-privacy {
    margin-top: 10px;
    font-size: 0.8rem;
}

/* Mobile Floating Action Buttons */
.mobile-fab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem; 
    gap: 6px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
                0 0 0 2px rgba(255, 255, 255, 0.4);
    background-color: var(--primary-color);
    color: white;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.8);
}

.mobile-fab-container {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 12px 12px;
    z-index: 999;
    gap: 8px;

    padding: 0 16px 16px;
}

.mobile-fab i {
    font-size: 0.9rem; 
}





/* Desktop Floating Action Buttons */
.desktop-fab-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

/* Hide the online booking float button on home page since it's in the hero */
body.home-page .desktop-fab-booking {
    display: none;
}

/* Hide all desktop float buttons on booking page */
body.booking-page .desktop-fab-container {
    display: none;
}

.desktop-fab {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    background-color: var(--primary-color);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.desktop-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.desktop-fab i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .mobile-fab-container {
        display: flex;
    }
    
    /* Remove the general body padding */
    body {
        padding-bottom: 0;
    }
    
    /* Add padding only to the footer to accommodate the FAB */
    .footer {
        padding-bottom: calc(2rem + 70px); /* Adjust the value based on your FAB height */
    }

    .desktop-fab-container {
        display: none;
    }
    
    /* Hide Next button on non-booking pages */
    body:not(.booking-page) .mobile-fab-next {
        display: none !important;
    }
    
    /* Show Service button on non-booking pages */
    body:not(.booking-page) .mobile-fab-service {
        display: flex !important;
    }
    
    /* Hide Service button on booking pages */
    body.booking-page .mobile-fab-service {
        display: none !important;
    }
}

/* Prevent body scroll when popup is open */
body.quote-popup-active,
body.service-modal-active {
    overflow: hidden;
}

/* Mobile Service Selection Modal */
.mobile-service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-service-modal.active {
    display: block;
}

.mobile-service-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    max-height: 70vh;
}

.mobile-service-modal.active .mobile-service-overlay {
    transform: translateY(0);
}

.mobile-service-content {
    position: relative;
    padding: 20px;
}

.close-service-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    padding: 8px;
    cursor: pointer;
    z-index: 1;
}

.service-modal-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-color);
}

.modal-service-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-service-option {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.modal-service-option:hover,
.modal-service-option:active {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.modal-service-option-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.modal-service-option-text h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.modal-service-option-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
}
