.elementor-hotspot-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.hotspot-image-wrapper {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.hotspot-base-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.hotspot-point {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 124, 186, 0.9);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.hotspot-point:hover {
    background: rgba(0, 81, 119, 0.95);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.5);
}

.hotspot-point i {
    font-size: inherit;
}

.hotspot-pulse {
    animation: hotspot-pulse 2s infinite;
}

.hotspot-bounce {
    animation: hotspot-bounce 1s infinite;
}

.hotspot-shake {
    animation: hotspot-shake 0.8s infinite;
}

@keyframes hotspot-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3), 0 0 0 0 rgba(0, 124, 186, 0.7);
    }
    70% {
        box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3), 0 0 0 10px rgba(0, 124, 186, 0);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3), 0 0 0 0 rgba(0, 124, 186, 0);
    }
}

@keyframes hotspot-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    40% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
    60% {
        transform: translate(-50%, -50%) translateY(-5px);
    }
}

@keyframes hotspot-shake {
    0%, 100% {
        transform: translate(-50%, -50%) translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translate(-50%, -50%) translateX(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translate(-50%, -50%) translateX(2px);
    }
}



.hotspot-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hotspot-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.modal-content {
    position: relative;
    background: white;
    margin: 20px;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    z-index: 2;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.hotspot-modal.active .modal-content {
    transform: scale(1);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-image-container {
    margin-bottom: 20px;
    text-align: center;
}

.modal-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.modal-description {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.modal-description p {
    margin-bottom: 15px;
}

.modal-cta-container {
    text-align: center;
}

.modal-cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-cta-button:hover {
    background: #005177;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .hotspot-point {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .modal-content {
        margin: 10px;
        max-width: calc(100vw - 20px);
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-description {
        font-size: 14px;
    }
    

}

@media (max-width: 480px) {
    .hotspot-point {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.hotspot-loading {
    pointer-events: none;
    opacity: 0.6;
}

.hotspot-error {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    word-wrap: normal !important;
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    width: 1px;
} 