.container {
    display: flex;
    align-items: flex-start;
}

.BCWModel {
  width: 50%;
  height: 50%;
}

.content {
    width: 50%;
    height: 50%;
}

h1 {
    text-align: center;
}

#infoContainer {
    margin-top: 20px;
    padding: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.6;
    max-height: 600px;
    overflow-y: auto;
}

#infoContainer h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
}

#infoContainer p {
    margin: 10px 0;
    color: #555;
}

#infoContainer ul {
    margin: 15px 0;
    padding-left: 25px;
}

#infoContainer li {
    margin: 8px 0;
    color: #555;
}

#infoContainer strong {
    color: #333;
}

#Automatic_Txt1 text:hover, #Motivation_Automatic_Slice:hover, #Motivation_Reflective_Slice:hover, #Reflective_Txt1 text:hover, #Capability_Psychological_Slice:hover, #Psychological_Txt1 text:hover, #Capability_Physical_Slice:hover, #CapPhysical_Txt1 text:hover, #Opportunity_Social_Slice:hover, #Social_Txt1 text:hover, #Physical_Txt1 text:hover, #Physical_Txt_Text, #Capability_Psychological_Curve:hover, #Capability_Physical_Curve:hover, #Capability_Txt1 text:hover, #Opportunity_Social_Curve:hover, #Opportunity_Physical_Curve:hover, #Opportunity_Txt1 text:hover, #Motivation_Reflective_Curve:hover, #Motivation_Automatic_Curve:hover, #Motivation_Txt1 text:hover, #Restrictions path:hover, #Restrictions:hover, #Restrictions_Txt1 text:hover, #Education path:hover, #Education:hover, #Education_Txt1 text:hover, #Modeling path:hover, #Modeling:hover, #Modeling_Txt1 text:hover, #Persuasion path:hover, #Persuasion:hover, #Persuasion_Txt1 text:hover, #Incentivisation path:hover, #Incentivisation:hover, #Incentivisation_Txt1 text:hover, #Coercion path:hover, #Coercion:hover, #Coercion_Txt1 text:hover, #Training path:hover, #Training:hover, #Training_Txt1 text:hover, #Environmental path:hover, #Environmental:hover, #Environmental_Txt1 text:hover, #Enablement path:hover, #Enablement:hover, #Enablement_Txt1 text:hover, #Environmental_Social_Txt1 text:hover, #Restructuring_Txt1 text:hover, #Environmental_Social path:hover, #Environmental_Social:hover, #Guidelines path:hover, #Guidelines:hover, #Fiscal_Measures path:hover, #Fiscal_Measures:hover, #Regulation path:hover, #Regulation:hover, #Communication path:hover, #Communication:hover, #Legislation path:hover, #Legislation:hover, #Service_Provision path:hover, #Service_Provision:hover, #Environmental_Social_Txt1 text:hover, #Guidelines_Txt1 text:hover, #Fiscal_Measures_Txt1 text:hover, #Regulation_Txt1 text:hover, #Communication_Txt1 text:hover, #Legislation_Txt1 text:hover, #Service_Provision_Txt1 text:hover, #Social_Planning_Txt1 text:hover, #Marketing_Txt1 text:hover, #Step1:hover, #Step2:hover, #Step3:hover, #Step4:hover, #Step5:hover, #Step6:hover, #Step7:hover, #Step8:hover, #InterventionFunctions rect:hover, #PolicyCategories rect:hover, #BehaviorChangeTechniques rect:hover, #ModeofDelivery rect:hover {
    cursor: pointer;
}



#Automatic_Txt1 text, #Reflective_Txt1 text, #Psychological_Txt1 text, #Social_Txt1 text, #CapPhysical_Txt1 text, #Physical_Txt1 text {
fill:rgb(212,240,213);
}

#Motivation_Automatic_Slice, #Motivation_Reflective_Slice, #Capability_Psychological_Slice, #Capability_Physical_Slice, #Opportunity_Social_Slice, #Opportunity_Physical_Slice {
    fill:rgb(81,156,66);
}

#Capability_Psychological_Slice, #Capability_Physical_Slice {
    fill: rgb(96,184,85);
}

#Opportunity_Social_Slice, #Opportunity_Physical_Slice {
    fill: rgb(68,133,57);
}

#Capability_Psychological_Curve, #Capability_Physical_Curve {
    fill: rgb(111,210,95);
}

#Capability_Txt1 text {
    fill: white;
}

/* White text for red slices (intervention functions ring) */
#Environmental_Txt1 text, #Restructuring_Txt1 text, #Education_Txt1 text, 
#Persuasion_Txt1 text, #Incentivisation_Txt1 text, #Coercion_Txt1 text, 
#Training_Txt1 text, #Enablement_Txt1 text, #Restrictions_Txt1 text,
#Modeling_Txt1 text {
    fill: white !important;
}

/* Pointer cursor for Steps 5-8 */
#Step5 text, #Step6 text, #Step7 text, #Step8 text,
#InterventionFunctions rect, #PolicyCategories rect, 
#BehaviorChangeTechniques rect, #ModeofDelivery rect {
    cursor: pointer;
}

/* Responsive buttons styling */
.buttonsContainer {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    margin-top: -60px;
    margin-right: max(8%, 80px);
    margin-bottom: 20px;
}

.stepButton {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.stepButton:hover {
    background-color: #e0e0e0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .buttonsContainer {
        margin-right: max(5%, 40px);
        gap: 20px;
    }
    
    .stepButton {
        padding: 8px 16px;
        font-size: 14px;
    }
}