.ami-sel-program {
    padding: 80px 0;
    background: #fff;
}

.sel-program-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.sel-program-header {
    text-align: center;
    margin-bottom: 40px;
}

.sel-program-heading {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 46px !important;
    margin: 0 !important;
    text-align: center !important;
}

.heading-green {
    color: #508A92;
}

.heading-black {
    color: #000;
}

/* Diagram container */
.sel-program-diagram {
    position: relative;
    width: 100%;
    max-width: 850px;
    height: 650px;
    margin: 0 auto 40px;
    overflow: visible;
    padding-top: 100px;
}

/* Outer circle image */
.diagram-circle {
    position: absolute;
    top: calc(50% + 40px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 750px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* SVG Lines */
.diagram-lines {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    z-index: 2;
    pointer-events: none;
}

.connector-line {
    stroke-dashoffset: 0;
    animation: dashFlow 2s linear infinite;
}

@keyframes dashFlow {
    to {
        stroke-dashoffset: -20;
    }
}

/* Center circle */
.diagram-center {
    position: absolute;
    top: calc(50% + 40px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-circle {
    width: 160px;
    height: 160px;
    background: #fff;
    border: 3px solid #D0F45B;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(208, 244, 91, 0.3);
    transition: all 0.3s ease;
}

.center-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(208, 244, 91, 0.4);
}

.center-icon {
    width: 48px;
    height: 48px;
    background: #D0F45B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-icon svg {
    width: 24px;
    height: 24px;
}

.center-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: #000;
    text-align: center;
    max-width: 120px;
}

/* Program items */
.program-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 5;
    transition: transform 0.3s ease;
}

.program-item:hover {
    transform: translateY(-5px);
}

.program-item:hover .item-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #D0F45B;
}

.program-item:hover .item-icon-wrapper {
    transform: scale(1.1);
}

/* Item positions */
.item-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.item-top:hover {
    transform: translateX(-50%) translateY(-5px);
}

.item-bottom-left {
    bottom: 20px;
    left: 30px;
}

.item-bottom-right {
    bottom: 20px;
    right: 30px;
}

/* Icon wrapper */
.item-icon-wrapper {
    width: 48px;
    height: 48px;
    background: #E5EFF1;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.item-icon {
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-icon svg {
    width: 22px;
    height: 22px;
}

.item-icon svg path {
    fill: #000;
}

/* Item card */
.item-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px;
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
}

.item-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #508A92;
    margin: 0 0 8px 0;
}

.item-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    color: #666;
    margin: 0;
}

/* Footer button */
.sel-program-footer {
    text-align: center;
}

.sel-program-button {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    color: #508A92;
    background: transparent;
    border: 2px solid #508A92;
    border-radius: 8px;
    padding: 14px 32px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sel-program-button:hover {
    background: #508A92;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .ami-sel-program {
        padding: 60px 0;
    }
    
    .sel-program-heading {
        font-size: 28px !important;
        line-height: 36px !important;
    }
    
    .sel-program-diagram {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 20px 0;
    }
    
    .diagram-lines,
    .diagram-circle {
        display: none;
    }
    
    .diagram-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        order: -1;
        margin: 0 auto 20px;
    }
    
    .center-circle {
        width: 160px;
        height: 160px;
    }
    
    .program-item {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        flex-direction: row;
        gap: 16px;
        text-align: left;
    }
    
    .program-item:hover {
        transform: translateX(5px) !important;
    }
    
    .item-card {
        width: auto;
        max-width: 100%;
        text-align: left;
        flex: 1;
    }
    
    .item-icon-wrapper {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .ami-sel-program {
        padding: 40px 0;
    }
    
    .sel-program-container {
        padding: 0 15px;
    }
    
    .sel-program-heading {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    
    .center-circle {
        width: 160px;
        height: 160px;
    }
    
    .center-title {
        font-size: 12px;
    }
    
    .item-card {
        padding: 16px;
    }
    
    .item-title {
        font-size: 15px;
    }
    
    .item-description {
        font-size: 12px;
        line-height: 18px;
    }
}

