.first-sec {
    padding: 2rem;
}

.first-sec h2 {
    text-align: center;
    margin-bottom: 0;
}

.chart-sec {
    background-color: #FFF;
}

.charts-wrap {
    display: flex;
    gap: 3rem;
}

.charts-wrap .left {
    flex-shrink: 0;
}

.charts-wrap .left .boxes {
    justify-content: center !important;
}

.chart-sec .wrap {
    flex-grow: 1;
    /* padding: clamp(1rem, 3vw, 2rem); */
}

.chart-title {
    font-weight: 800;
    font-size: clamp(18px, 2.5vw, 20px);
    line-height: 1.2;
    letter-spacing: 0px;
    color: #19827A;
    margin-bottom: 1rem;
}

.legend-sec {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.legend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0px;
    color: #576767;
}

.legend .mark {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend:first-child .mark {
    background: #19827A;
}

.legend:last-child .mark {
    background: #D3EFEB;
}

.chart-sec .boxes {
    position: relative;
    display: flex;
    gap: 12px;
    margin-top: 1rem;
    justify-content: space-between;
}

.chart-sec .boxes .label {
    display: none;
    background: #6B6B6B;
    padding: 4px 16px;
    width: fit-content;
    font-weight: 700;
    font-size: 14px;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-sec .box {
    font-weight: 700;
    font-size: 14px;
    background: #BFE4E3;
    color: #008A85;
    padding: 4px 16px;
    width: fit-content;
    min-width: 82px;
    text-align: center;
}

.chart-sec .wrap .boxes {
    max-width: 90%;
}

.chart-sec .left .boxes {
    justify-content: center;
    gap: 8px;
}

.chart-sec .left .box {
    background-color: #008A85;
    color: #FFF;
}

.left-mokc {
    height: 16px;
}

/* .chart-sec .box p {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0px;
    color: #576767;
} */

/* .chart-sec .box span {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0px;
    color: #008A85;
} */

@media (max-width: 768px) {

    .chart-sec .boxes .label,
    .chart-sec .box {
        padding: 4px 8px;
        font-size: 12px !important;
    }


    .chart-sec .box {
        width: 100%;
    }

    .chart-sec .boxes .label {
        flex-shrink: 0;
    }

    .charts-wrap {
        flex-direction: column;
    }

    .chart-sec .box span {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .chart-sec .wrap .boxes {
        max-width: 100%;
    }

    .chart-sec .boxes .label,
    .chart-sec .box {
        font-size: 10px;
    }


    .chart-sec .box {
        min-width: 62px;
    }

    .legend-sec {
        gap: 0.75rem;
    }

    .legend {
        font-size: 11px;
    }
}

.progress-sec {
    margin-top: 2rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    box-shadow: 0px 20px 60px -25px rgba(0, 91, 85, 0.35);
    background: #008A85;
}

.progress-sec .stack {
    gap: 4px;
}

.progress-sec h3 {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    color: #FCFCFC;
}

.progress-sec p {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #FCFCFC;
}

.progress-sec .progresses {
    padding: 2.5rem 0;
    display: flex;
    gap: 1.5rem;
}

.progress-sec .progresses>div {
    flex: 1
}

.progresses .num {
    font-weight: 800;
    font-size: clamp(32px, 6vw, 48px);
    line-height: 48px;
    letter-spacing: 0px;
    color: #FFF;
    margin: 8px 0;
}

.progresses .progress {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 16px;
}

.progresses .progress::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 90%;
    background-color: #FFF;
    border-radius: 16px;
}

.progresses>div:last-child .progress::after {
    width: 75%;
    opacity: 50%;
}

.progress-sec .bottom {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    border-radius: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.25rem;
}

.progress-sec .bottom>div {
    font-weight: 800;
    font-size: clamp(20px, 4vw, 30px);
    line-height: 36px;
    letter-spacing: 0px;
    color: #FFF;
}

@media (max-width: 768px) {
    .progress-sec .progresses {
        flex-direction: column;
        /* ترتيب أشرطة التقدم تحت بعضها */
        gap: 2rem;
    }

    .progress-sec .progresses>div {
        width: 100%;
    }

    .progress-sec .bottom {
        flex-direction: column;
        /* جعل محتوى الجزء السفلي عمودي */
        text-align: center;
        gap: 0.75rem;
        padding: 1.5rem 1rem;
    }

    .progress-sec .bottom>div {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .progress-sec {
        padding: 1rem;
    }

    .progresses .num {
        font-size: 36px;
        /* حجم ثابت مناسب للموبايل الصغير */
    }

    .progress-sec h3 {
        font-size: 13px;
    }
}

/* boxes-sec */
.boxes-sec h2 {
    font-weight: 800;
    letter-spacing: 0px;
    text-align: center;
    color: #008A85;
    margin: auto;
    margin-bottom: 4rem;
    max-width: 900px;
    font-size: clamp(24px, 5vw, 48px);
    line-height: 1.4;
}

.boxes-sec .boxes {
    display: flex;
    gap: 1.5rem;
}

.boxes-sec .box {
    flex: 1;
    border: 1px solid #DAE8E8;
    background: #FFF;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.boxes-sec .box .icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #048F8B;
}

.boxes-sec h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
    color: #008A85 !important
}

.boxes-sec .box .desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0px;
    color: #5E7278 !important
}

.boxes-sec .box ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(211, 239, 235, 0.4);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    color: #071F1F !important;
}

.boxes-sec .box ul li .mark {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #19827A;
}

.boxes-sec .box:first-child .bottom {
    background: #008A85;
    padding: 24px;
}

.boxes-sec .box:first-child .bottom p {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0px;
    color: #FCFCFC !important;
    margin-bottom: 8px;
}

.boxes-sec .box:first-child .num {
    font-weight: 800;
    font-size: clamp(40px, 6vw, 60px);
    line-height: 1;
    letter-spacing: 0px;
    color: #FCFCFC !important;
}

.boxes-sec .box:first-child span:last-child {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0px;
}

.boxes-sec .box:nth-child(2) .wrap {
    display: flex;
    gap: 12px;
}

.boxes-sec .box .wrap>div {
    text-align: center;
}

.boxes-sec .box:nth-child(2) .wrap>div {
    flex: 1;
    background: rgba(238, 247, 246, 0.5);
    border: 1px solid rgba(218, 232, 232, 1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.boxes-sec .bottom-box {
    padding: 1rem;
    background: rgba(211, 239, 235, 0.3);
    border: 1px solid rgba(25, 130, 122, 0.15)
}

.boxes-sec .bottom-box h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #005B55;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    margin-bottom: 8px;
}

.boxes-sec .bottom-box p {
    font-weight: 400;
    font-size: 12px;
    line-height: 19.5px;
    letter-spacing: 0px;
    color: #576767 !important;
}

@media (max-width: 1024px) {
    .boxes-sec .boxes {
        gap: 1rem;
    }

    .boxes-sec .box {
        flex: 1 1 calc(45% - 1rem);
    }
}

@media (max-width: 768px) {
    .boxes-sec h2 {
        margin-bottom: 2rem;
    }

    .boxes-sec .boxes {
        flex-direction: column;
    }

    .boxes-sec .box {
        width: 100%;
        min-width: unset;
    }

    .boxes-sec .box:nth-child(2) .wrap {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .boxes-sec .box:nth-child(2) .wrap>div {
        flex: 1 1 140px;
    }
}

@media (max-width: 480px) {
    .boxes-sec .box {
        padding: 1.25rem;
    }

    .boxes-sec h3 {
        font-size: 20px;
    }

    .boxes-sec .box:first-child .num {
        text-align: center;
    }

    .boxes-sec .box:first-child .bottom {
        text-align: center;
    }

    .boxes-sec .box ul li {
        font-size: 13px;
        padding: 0.5rem;
    }
}

/* banner-sec */
.banner-sec .box {
    /* background: #008A85; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: clamp(1.5rem, 5vw, 60px); */
    /* box-shadow: 0px 20px 60px -25px rgba(0, 91, 85, 0.35); */
    /* padding: clamp(1.5rem, 5vw, 3rem); */
    flex-direction: column;
    padding-bottom: clamp(56px, 8vw, 128px);
    ;
}

.banner-sec p {
    font-weight: 800;
    font-size: clamp(24px, 5vw, 48px);
    line-height: 1.2;
    letter-spacing: 0px;
    text-align: center;
    max-width: 900px;
    margin: auto;
    color: #FCFCFC;
}


.banner-sec .note {
    color: #FCFCFC;
    font-weight: 800;
    font-size: clamp(22px, 4vw, 40px);
    line-height: 1.2;
    letter-spacing: 0px;
}

.banner-sec .note span:last-child {
    font-weight: 600;
    font-size: clamp(16px, 3vw, 25px);
    line-height: 1.3;
}

/* --- Media Queries --- */

.banner-sec .box {
    gap: 8px;
}

@media (max-width: 768px) {
    .charts-wrap .left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100% !important;
    }

    .charts-wrap .left .boxes {
        justify-content: center;
        width: fit-content;
    }

    .left-mokc {
        display: none;
    }

    .banner-sec .box {
        padding: 0 1.25rem 2rem;
        gap: 8px;
        /* تقليل المسافة بين العناصر */
    }

    .banner-sec p {
        line-height: 1.4;
        /* زيادة التباعد بين السطور للقراءة المريحة */
    }
}

@media (max-width: 480px) {
    .banner-sec .box {
        padding: 0 1rem 1.5rem;
    }

    .banner-sec .note {
        line-height: 1.1;
    }
}