/* ===================================================== */
/* === Integrated Business Actions Framework Section === */
/* ===================================================== */
.business-framework-section {
    background-color: #3E593C;
    color: #fff;
    padding: 60px 0;
    overflow: hidden; /* Contains any elements that might overflow */
}

.business-framework-section h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 600;
    text-align: left;
    /* Aligning with .container's effective content area */
    /* Assuming h2 is inside a .container in HTML. If not, or for precise alignment:
    max-width: 1100px;
    padding-left: 5%;
    margin-left: auto;
    margin-right: auto;
    */
}

.framework-layout { /* 3-column grid: text | diagram | text */
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Diagram takes content width, text shares rest */
    align-items: center;
    gap: 25px;
    /* max-width: 1100px; /* Handled by parent .container */
    /* margin: 0 auto; /* Handled by parent .container */
    /* padding: 0 20px; /* Inner padding if .container has no padding */
}

.framework-text-left,
.framework-text-right {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Space between text items in a column */
}

.framework-text-left .framework-item {
    text-align: right; /* Text on the left of diagram aligns right */
}

.framework-text-right .framework-item {
    text-align: left; /* Text on the right of diagram aligns left */
}

.framework-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.framework-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Diagram Styling for 4 Items */
.framework-diagram {
    position: relative;
    width: 260px;  /* Overall size of the diagram area */
    height: 260px;
    border-radius: 50%;
    margin: 20px auto; /* Center diagram in its grid cell & add vertical margin */
}

.diagram-segment { /* Each of the 4 "segment" blocks */
    position: absolute; /* Positioned relative to .framework-diagram */
    width: 100px;  /* Size of the segment block */
    height: 100px;
    background-color: #FAF8F5; /* Light beige background for segments */
    border-radius: 12px;       /* Rounded corners for segment blocks */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3E593C; /* For SVG icons if they use currentColor */
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: transform 0.2s ease-out;
}
.diagram-segment:hover {
    transform: scale(1.05);
}

.diagram-segment img { /* The SVG icon inside a segment */
    width: 35px;
    height: 35px;
}

/* Simplified Positioning for 4 Segments (Corners of the diagram area) */
.diagram-segment.segment-1 { /* Top-Left */
    top: 10%;
    left: 10%;
}
.diagram-segment.segment-2 { /* Bottom-Left */
    bottom: 10%;
    left: 10%;
}
.diagram-segment.segment-3 { /* Bottom-Right */
    bottom: 10%;
    right: 10%;
}
.diagram-segment.segment-4 { /* Top-Right */
    top: 10%;
    right: 10%;
}

.diagram-center-hole { /* The "hole" in the middle of the diagram */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;  /* Size of the hole (approx 35% of diagram width) */
    height: 90px;
    background-color: #3E593C; /* Same as section background to create "hole" */
    border-radius: 50%;
    transform: translate(-50%, -50%); /* Center the hole */
    z-index: 5; /* Ensure it's above segments */
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2); /* Optional inner shadow for depth */
}

/* Responsive adjustments for Framework section */
@media (max-width: 992px) { /* Tablet */
    .business-framework-section h2 {
        text-align: center; /* Center title on tablet */
        padding-left: 0;
        padding-right: 0;
        font-size: 2rem;
    }
    .framework-layout {
        grid-template-columns: 1fr; /* Stack elements: diagram then text columns */
        padding: 0 5%; /* Add padding to content when stacked */
    }
    .framework-diagram {
        order: -1; /* Move diagram to the top of the stacked items */
        width: 220px;
        height: 220px;
        margin-bottom: 30px;
    }
    .diagram-segment {
        width: 85px;
        height: 85px;
    }
    .diagram-segment img {
        width: 30px;
        height: 30px;
    }
    /* Adjust corner positioning for smaller diagram */
    .diagram-segment.segment-1 { top: 8%; left: 8%;}
    .diagram-segment.segment-2 { bottom: 8%; left: 8%;}
    .diagram-segment.segment-3 { bottom: 8%; right: 8%;}
    .diagram-segment.segment-4 { top: 8%; right: 8%;}

    .diagram-center-hole {
        width: 75px;
        height: 75px;
    }

    .framework-text-left .framework-item,
    .framework-text-right .framework-item {
        text-align: center; /* Center text blocks when stacked */
    }
    .framework-text-left {
        order: 0; /* Comes after diagram */
    }
    .framework-text-right {
        order: 1; /* Comes after left text */
    }
}

@media (max-width: 576px) { /* Mobile specific for Framework diagram */
    .business-framework-section h2 {
        font-size: 1.8rem; /* Consistent with other mobile titles */
    }
    .framework-diagram {
        width: 180px; /* Further reduce diagram size */
        height: 180px;
    }
    .diagram-segment {
        width: 70px;
        height: 70px;
    }
    .diagram-segment img {
        width: 25px;
        height: 25px;
    }
    /* Adjust corner positioning for even smaller diagram */
    .diagram-segment.segment-1 { top: 5%; left: 5%;}
    .diagram-segment.segment-2 { bottom: 5%; left: 5%;}
    .diagram-segment.segment-3 { bottom: 5%; right: 5%;}
    .diagram-segment.segment-4 { top: 5%; right: 5%;}

    .diagram-center-hole {
        width: 60px;
        height: 60px;
    }
     .framework-item h3 {
        font-size: 1.1rem;
    }
    .framework-item p {
        font-size: 0.9rem;
    }
}