.contact-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ee6300, #ff8533);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(238, 99, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.contact-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(238, 99, 0, 0.5);
    animation: none;
}

.contact-button svg {
    width: 28px;
    height: 28px;
    color: white;
}

.contact-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-button:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.contact-modal.active {
    display: flex;
}

.contact-modal-content {
    background: white;
    padding: 40px;
    border-radius: 25px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.contact-close {
    position: absolute;
    top: 20px;
    right: 160px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 35px;
    color: #ee6300;
}

.contact-modal-content h2 {
    font-size: 35px;
    font-weight: bold;
    color: #ee6300;
    transform: translateX(100px);
}

.contact-modal-content input,
.contact-modal-content textarea,
.contact-modal-content button {
    width: 100%;
    padding: 15px 20px;
    margin: 10px 0;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 18px;
    font-family: inherit;
    box-sizing: border-box;
}

.contact-modal-content input:focus,
.contact-modal-content textarea:focus {
    outline: none;
    border-color: #ee6300;
    box-shadow: 0 0 0 3px rgba(238, 99, 0, 0.1);
}

.contact-modal-content button.contact-submit {
    background: linear-gradient(135deg, #ee6300, #ff8533);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-modal-content button.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(238, 99, 0, 0.4);
}

.contact-success {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4CAF50;
    color: white;
    padding: 20px 25px;
    border-radius: 15px;
    z-index: 2001;
    animation: successSlideIn 0.3s ease-out;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
    align-items: center;
    gap: 15px;
}

.contact-success.active {
    display: flex;
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-success svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.contact-success p {
    margin: 0;
    font-size: 16px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(238, 99, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(238, 99, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(238, 99, 0, 0); }
}

@media (max-width: 768px) {
    .contact-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .contact-button svg {
        width: 24px;
        height: 24px;
    }
    .contact-tooltip {
        display: none;
    }
    .contact-modal-content {
        padding: 30px 25px;
        margin: 20px;
    }
    .contact-modal-content h2 {
        font-size: 1.5em;
    }
    .contact-success {
        right: 20px;
        left: 20px;
        bottom: 90px;
    }
}
