﻿.floating-buttons {
    position: fixed;
    top: 20%;
    right: -100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.float-button {
    width: 150px;
    height: 50px;
    background-color: #25d366;
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s, background-color 0.3s;
    border: none;
    cursor: pointer;
}

    .float-button:hover {
        transform: translateX(-100px);
        transition: transform 0.3s ease; /* add smooth animation if needed */
    }

.contact-button {
    background-color: #007bff;
}



.whatsapp-button {
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}


.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: linear-gradient(135deg, #ffffff, #f0f4ff);
    margin: 10% auto;
    padding: 25px 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    animation: slideDown 0.4s ease;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    color: #555;
    transition: transform 0.2s, color 0.3s;
}

    .close-button:hover {
        transform: rotate(90deg);
        color: #ff4d4d;
    }

.modal-content h2 {
    margin-bottom: 15px;
    color: #333;
    font-size: 24px;
}

#contactForm input,
#contactForm textarea {
    width: 90%;
    padding: 12px 10px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    #contactForm input:focus,
    #contactForm textarea:focus {
        border-color: #007bff;
        box-shadow: 0 0 6px rgba(0,123,255,0.3);
        outline: none;
    }

#contactForm button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s, transform 0.2s;
}

    #contactForm button:hover {
        background: linear-gradient(135deg, #0056b3, #004494);
        transform: scale(1.05);
    }
