body {
    background-color: transparent !important;
}

html {
    background-color: #f3f4f6; /* Fallback/Base background color */
}

/* Remove background image from hero section to show video */
.guide-hero {
    background: transparent !important;
}

.fixed-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.fixed-background-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85; /* Increased opacity for better clarity as requested */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Darker overlay to contrast with white text */
}

/* Interactive Map Section */
.interactive-map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff;
    margin: 2rem 0;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.map-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.hotspot-pulse {
    width: 30px;
    height: 30px;
    background: rgba(255, 71, 87, 0.4);
    border: 2px solid #ff4757;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hotspot-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 5px;
    white-space: nowrap;
    opacity: 0.9;
    pointer-events: none;
}

.map-tooltip {
    position: absolute;
    bottom: 140%; /* Above the hotspot */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    border-top: 4px solid #ff4757;
    z-index: 20;
}

.map-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.map-hotspot:hover .map-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.map-tooltip h3 {
    margin: 0 0 10px 0;
    color: #ff4757;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.tooltip-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tooltip-list li {
    padding: 4px 0;
    font-size: 0.95rem;
    color: #4b5563;
    border-bottom: 1px dashed #f3f4f6;
}

.tooltip-list li:last-child {
    border-bottom: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

/* Examination Section */
.examination-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.exam-image-wrapper img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.exam-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exam-step-card, .exam-note-card {
    background: #fff;
    padding: 1.25rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #f1f5f9;
}

.exam-step-card i { font-size: 1.8rem; color: #3b82f6; }
.exam-note-card i { font-size: 1.8rem; color: #f59e0b; }

.exam-step-card h3 { margin: 0 0 0.5rem 0; font-size: 1.1rem; }
.exam-step-card p, .exam-note-card p { margin: 0; color: #475569; line-height: 1.6; }

.exam-alert-box {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 10px;
    overflow: hidden;
}

.alert-header {
    background: #fee2e2;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #991b1b;
}

.alert-header i { font-size: 1.5rem; }
.alert-header h4 { margin: 0; font-weight: 700; }

.alert-body {
    padding: 1.5rem;
    color: #7f1d1d;
}

.alert-body ul { margin: 1rem 0 0 0; padding-right: 1.5rem; }
.alert-body li { margin-bottom: 0.5rem; }

@media (max-width: 768px) {
    .examination-layout { grid-template-columns: 1fr; }
}