/* Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Show modal */
.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.25s ease;
}

/* Modal box */
.modal-box {
    width: 90%;
    max-width: 520px;
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px);
    animation: slideUp 0.35s ease forwards;
}

/* Close */
.close-modal {
    position: absolute;
    right: 16px;
    top: 14px;
    font-size: 26px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #555;
}

.close-modal:hover {
    color: #111;
}

/* Title */
.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.gradient-text {
    background: linear-gradient(90deg, #22d3ee, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact card */
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.9);
    transition: 0.25s;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.icon {
    font-size: 24px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    border-radius: 12px;
}

.label {
    font-size: 13px;
    color: #64748b;
}

.value {
    font-weight: 600;
    color: #0f172a;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

/* Mobile */
@media(max-width:480px) {
    .modal-box {
        padding: 22px;
    }
}