.floating-contact-modal-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 200px;
    height: 50px;
    background-color: var(--gracie-red);
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
    border: none;
    padding: 0 15px;
}

.floating-contact-modal-btn:hover {
    background-color: #cc0000;
}

.floating-contact-modal-btn:hover, .floating-contact-modal-btn:active, .floating-contact-modal-btn:focus {
    background-color: #cc0000;
}

/* Separate transform effect for non-mobile only */
@media (min-width: 997px) {
    .floating-contact-modal-btn:hover, .floating-contact-modal-btn:active, .floating-contact-modal-btn:focus {
        transform: translateY(-3px);
    }
}

.floating-contact-modal-btn:hover img, .floating-contact-modal-btn:active img, .floating-contact-modal-btn:focus img {
    margin-right: 10px;
}

.floating-contact-modal-btn img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    margin-right: 10px;
}

.floating-contact-modal-text {
    display: block;
    font-size: 16px;
    color: white;
    text-align: center;
    line-height: 1.2;
    font-weight: bold;
    white-space: nowrap;
}

.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.contact-modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.contact-modal-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-align: center;
}

.contact-modal-overlay.active .contact-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-contact-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gracie-red);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.close-contact-modal:hover {
    transform: rotate(90deg);
}

.contact-modal-title {
    font-family: var(--e-global-typography-primary-font-family, 'Titillium Web');
    font-size: 2rem;
    color: var(--gracie-red);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.contact-modal-subtitle {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 30px;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .contact-options {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .contact-option {
        width: 80%;
        max-width: 180px;
        margin: 5px auto;
    }
}

.contact-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-option-whatsapp {
    background-color: #25D366;
    color: white;
}

.contact-option-email {
    background-color: var(--gracie-red);
    color: white;
}

.contact-option-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-option-text {
    font-weight: 600;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.floating-contact-modal-btn:hover {
    background-color: #cc0000;
}

.floating-contact-modal-btn:hover img {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .floating-contact-modal-btn {
        right: 50%;
        transform: translate(50%, 0);
        width: 180px;
        height: 35px;
        display: flex;
        bottom: 1%;
    }

    .floating-contact-modal-btn img {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    

    .floating-contact-modal-btn::before {
        margin: 2px;
        border-radius: 6px;
    }
    
    .contact-modal-content {
        padding: 30px;
        width: 95%;
    }

    .contact-modal-title {
        font-size: 1.8rem;
    }
    
    .contact-option {
        width: 100%;
        max-width: 220px;
    }
}

@media (min-width: 769px) and (max-width: 996px) {
    .floating-contact-modal-btn {
        display: flex;
        bottom: 1%;
        right: 50%;
        transform: translate(50%, 0);
        width: 220px;
        height: 40px;
    }
    
    .floating-contact-modal-btn:hover,
    .floating-contact-modal-btn:active,
    .floating-contact-modal-btn:focus {
        transform: translate(50%, 0);
    }
}

.contact-modal-title {
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    .floating-contact-modal-text {
        font-size: 14px;
    }
}
    
    .contact-option {
        width: 100%;
        max-width: 220px;
    }
