.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 15px;
    height: 15px;
    fill: white; /* Ensure the SVG icon is white */
}

/* Styles for the WhatsApp Modal */
.whatsapp-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.whatsapp-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.whatsapp-modal-content h3 {
    color: #0a3148; /* Dark Blue from site */
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.whatsapp-modal-content p {
    font-size: 1.1em;
    color: #666;
    text-align: center;
    margin-bottom: 25px;
}

.whatsapp-modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
}

.whatsapp-modal-close:hover,
.whatsapp-modal-close:focus {
    color: #0a3148;
    text-decoration: none;
    cursor: pointer;
}

#whatsappForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#whatsappForm input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1em;
}

#whatsappForm input:focus {
    outline: none;
    border-color: #0a3148;
    box-shadow: 0 0 5px rgba(10, 49, 72, 0.5);
}

#whatsappForm button {
    background-color: #25D366; /* WhatsApp green */
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#whatsappForm button:hover {
    background-color: #20b859; /* A slightly darker green */
}