/* Card styling */

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Card image */
.card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* Card title */
.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

/* Card text */
.card-text {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Button styling */
.btn-outline-primary {
    border-color: #0d6efd;
    color: #0d6efd;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: #fff;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Content */
.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    z-index: 10000;
}

/* Blur Effect for the Background */
body.blurred {
    filter: blur(5px);
    /* Apply blur effect */
    pointer-events: none;
    /* Disable interactions with the blurred content */
}

body.blurred #contactPopup {
    filter: none;
    /* Keep the popup content clear */
    pointer-events: auto;
    /* Allow interactions with the popup */
}