.diagram {
    position: relative;
    width: 980px; /* Adjusted to maximum width */
    height: 980px; /* Maintain aspect ratio */
    border-radius: 50%;
    background: radial-gradient(circle at center, #ffffff 50%, #f1f1f1 100%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    animation: fadeInDiagram 2s ease-in-out;
}
.quadrant {
    position: absolute;
    width: 42%; /* Adjusted for balance and spacing */
    height: 42%; /* Matching width for consistency */
    padding: 25px; /* Balanced padding */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 20px;
    transition: transform 0.5s ease-in-out, background-color 0.5s ease-in-out, box-shadow 0.5s;
    opacity: 0;
    animation: fadeIn 2s forwards;
    color: #333;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.quadrant h5 {
    color: #e76408;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 18px; /* Slightly larger for visibility */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.quadrant ul {
    padding-left: 0;
    list-style: none;
    text-align: left;
    line-height: 1.6;
}
.quadrant ul li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 18px;
    color: #333;
    font-size: 14px; /* Reduced for space but ensuring readability */
    transition: color 0.3s;
    border-left: 4px solid #e76408;
    padding-left: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.quadrant ul li:hover {
    color: #e76408;
    transform: translateX(5px);
}
.quadrant ul li::before{
    content: "" !important;
}
.quadrant:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}
.background-image {
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0.05;
    z-index:-1;
}
.top-left { animation-delay: 0.3s; top: 5%; left: 5%; }
.top-right { animation-delay: 0.6s; top: 5%; right: 5%; }
.bottom-left { animation-delay: 0.9s; bottom: 5%; left: 5%; }
.bottom-right { animation-delay: 1.2s; bottom: 5%; right: 5%; }