/* styles.css */
.floating-contact {
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 1000;
}

.contact-button {
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-button i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.contact-toggle {
    display: none;
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.contact-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.contact-option i {
    font-size: 20px;
}

.email {
    background-color: #EA4335;
}

.whatsapp {
    background-color: #25D366;
}

.phone {
    background-color: #4285F4;
}

/* Animation when checked */
.contact-toggle:checked ~ .contact-button {
    transform: rotate(45deg);
    background-color: #FF3A30;
}

.contact-toggle:checked ~ .contact-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.contact-toggle:checked ~ .contact-options .contact-option {
    transform: scale(1);
}

/* Hover effects */
.contact-option:hover {
    transform: scale(1.1) !important;
}

.contact-button:hover {
    transform: scale(1.05);
}