/* Modal specific styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalOpen 0.4s ease-out;
}

@keyframes modalOpen {
    from {opacity: 0; transform: translateY(-30px) scale(0.95);}
    to {opacity: 1; transform: translateY(0) scale(1);}
}

.modal-sparkle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: modalSparkle 1.5s ease-out forwards;
}

@keyframes modalSparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(2) rotate(45deg);
        opacity: 0;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-body {
    padding: 40px;
    text-align: center;
}

.modal-body svg {
    margin-bottom: 20px;
}

.modal-body h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

.modal-contact {
    margin-top: 20px;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.call-btn {
    background: var(--primary);
}

.call-btn:hover {
    background: var(--accent);
}

@media (max-width: 576px) {
    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

