.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    top: 250px;
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--color-primary);
    transform: rotate(90deg);
}

.modal-body {
    text-align: center;
}

.modal-icon {
    width: 95%;
    font-size: 4rem;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.modal-body h2 {
    font-family: var(--font-hindi);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.modal-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-contact {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--color-primary);
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.contact-number:hover {
    color: var(--color-accent);
}

@media (max-width: 600px) {
    .modal-content {
        padding: 2rem;
    }

    .modal-body h2 {
        font-size: 1.5rem;
    }

    .modal-message {
        font-size: 1rem;
    }

    .contact-number {
        font-size: 1.3rem;
    }
}