/* Global Smooth Scrolling & Deep Dark Main Background */
html, body {
    background-color: #0A0F14; /* Rich deep midnight background */
    color: #E2E8F0;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

/* Header Background */
.site-header {
    background-color: #243042 !important;
    border-bottom: 2px solid #004872 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Unified Professional Button Style (Header Navigation & Tour Buttons) */
.spm-btn {
    background-color: #FFFFFF !important;
    color: #004872 !important;
    padding: 10px 20px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    border: 2px solid #004872 !important;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.spm-btn:hover {
    background-color: #004872 !important;
    color: #FFFFFF !important;
    border-color: #38BDF8 !important;
    box-shadow: 0 4px 20px rgba(0, 72, 114, 0.6);
}

.spm-btn:focus-visible {
    outline: 2px solid #38BDF8;
    outline-offset: 2px;
}

/* Unified Box Border Style with Reduced Contrast & Hover Effect */
.spm-box {
    border: 2px solid rgba(0, 72, 114, 0.3) !important; /* Softer, reduced-contrast default border */
    border-radius: 6px !important;
    transition: all 0.3s ease;
}

.spm-box:hover {
    border-color: #004872 !important; /* Full contrast signature blue on hover */
    box-shadow: 0 4px 20px rgba(0, 72, 114, 0.15);
}

/* Responsive Flexbox Container for Tour Navigation Buttons */
.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px; 
    width: min(100%, calc(80vh * 16 / 9)); 
    margin: 20px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Specific sizing for tour buttons inside the container */
.button-container .spm-btn {
    width: 160px;
    padding: 10px 0;
    position: relative;
    z-index: 10;
}

/* Section Text Block Layout */
.centered-block {
    display: block; 
    width: 80%;     
    margin: 80px auto; 
    font-size: 22px;
    border: none;
    padding: 10px;
    box-sizing: border-box;
    color: #F8FAFC;
}

/* Tour Iframe Responsive Wrapper */
.tour-wrapper {
    position: relative;
    z-index: 5;
    width: min(100%, calc(65vh * 16 / 8));
    aspect-ratio: 16 / 8;
    margin: 0 auto;
    border: none;
    padding: 10px;
    box-sizing: border-box;
}

/* Tour Iframe Box with Explicit Visible Border */
.tour-iframe {
    width: 100%; 
    height: 100%; 
    border: 2px solid #004872; 
    border-radius: 8px; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); 
    pointer-events: auto;
}

@keyframes heartbeat-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.animate-cta-text {
    display: inline-block;
    animation: heartbeat-pulse 4s ease-in-out infinite;
}