.solution-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.solution-modal-content {
    background-color: rgba(25, 25, 25, 0.95);
    color: white;
    padding: 30px;
    border-radius: 12px;
    width: 95%;
    max-width: 1400px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Source Sans Pro', sans-serif;
}

.solution-modal h1 {
    font-family: 'Julius Sans One', sans-serif;
    font-weight: 300;
    font-size: 1.2cm;
    transform: scale(1, 1.15);
    margin-bottom: 0.2cm;
    margin-top: 0.2cm;
    text-transform: uppercase;
}

.solution-modal h2 {
    font-family: 'Archivo Narrow', sans-serif;
    margin-top: 0.1cm;
    margin-bottom: 0.1cm;
}

.solution-modal h3 {
    font-family: 'Open Sans', sans-serif;
}

.solution-modal p, 
.solution-modal ul, 
.solution-modal ol, 
.solution-modal li {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.35cm;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.solution-modal img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.solution-modal iframe {
    width: 100%;
    height: 80vh;
    border: none;
}

.solution-modal .close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.2s ease;
}

.solution-modal .close-btn:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .solution-modal h1 {
        font-size: 0.9cm;
        text-align: center;
    }
    
    .solution-modal h2 {
        font-size: 0.7cm;
        text-align: center;
    }
    
    .solution-modal h3 {
        font-size: 0.6cm;
        text-align: center;
    }
    
    .solution-modal p, 
    .solution-modal ul, 
    .solution-modal ol, 
    .solution-modal li {
        font-size: 0.4cm;
    }
}