.eng-map-wrapper {
    position: relative;
    width: 100%;
    display: block; /* Ensures visibility */
    min-height: 300px;
}

.eng-map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    min-height: 300px;
}

.eng-map-iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    z-index: 1; /* Keep below card */
}

.eng-map-card {
    position: absolute;
    bottom: 2rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    z-index: 2; /* Ensures overlay is above map */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eng-map-card:hover {
    transform: translateY(-5px);
}

.eng-map-status {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e2e8f0;
    margin-bottom: 1rem;
    font-family: sans-serif;
}

.eng-map-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px currentColor;
    animation: pulse 2s infinite;
}

.eng-map-title {
    display: flex;
    align-items: center;
    font-family: sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.eng-map-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eng-map-address {
    font-family: sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.eng-map-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .eng-map-container {
        flex-direction: column;
        height: auto !important;
        background: transparent;
    }
    
    .eng-map-iframe {
        position: relative;
        height: 350px;
        border-radius: 16px;
    }
    
    .eng-map-card {
        position: relative;
        bottom: auto;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin-top: -2rem;
        width: calc(100% - 2rem);
        margin-left: auto;
        margin-right: auto;
    }
}
