.aboutSec {
    .aboutTextWrap {
        .btnWrap {
            margin-top: 20px;
        }
    }
}

/*===aboutHeroSec start===*/
.aboutPageSec_1 {
    background-color: #E6F5FF;
}

/*===aboutHeroSec end===*/


/*===historySec start===*/
.historySec {
    padding: 0 !important;
    overflow: hidden;

    .secH {
        span {
            &::after {
                background-image: linear-gradient(to right, #ffffff00, #dfffd7bf);
            }
        }
    }
}

.histWrap {
    display: flex;
    align-items: stretch;
    min-height: 580px;
}

/* --- Left Panel --- */
.histLeft {
    width: 50%;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;

    .graphicImg {
        position: absolute;
        top: 0;
        left: -120px;
        width: 110%;
    }

    .histLeftCont img {
        width: 100%;
    }
}

.histDecor1 {
    position: absolute;
    width: 520px;
    height: 560px;
    background: var(--light-green);
    border-radius: 62% 38% 70% 30% / 55% 65% 35% 45%;
    bottom: -160px;
    left: -160px;
    z-index: 0;
    opacity: 0.65;
}

.histDecor2 {
    position: absolute;
    width: 320px;
    height: 370px;
    background: #C5E4F8;
    border-radius: 45% 55% 38% 62% / 60% 40% 58% 42%;
    bottom: -80px;
    left: 70px;
    z-index: 0;
    opacity: 0.4;
}

.histLeftCont {
    position: relative;
    z-index: 2;
}

.histSubtxt {
    margin-top: 22px;
    max-width: 370px;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

/* --- Right Panel --- */
.histSliderWrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.histSliderWindow {
    overflow: hidden;
    height: 300px;
    width: 100%;
}

.histTimeline {
    will-change: transform;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.histItem {
    /* padding: 20px 24px; */
    cursor: pointer;
    /* border-left: 3px solid #ddd; */
    margin-bottom: 10px;
    transition: border-color 0.3s, background 0.3s;
}

/* .histItem.active {
    border-left: 3px solid #0073e6;
    background: #f0f7ff;
} */

.histItem.active .hist-year {
    color: #0073e6;
}

.hist-year {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 6px;
    color: #333;
}

.hist-text {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* ── Buttons ── */

.histNav {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.hist-btn {
    width: 42px;
    height: 42px;
    background: var(--green);
    color: #000;
    box-shadow: 0 4px 16px rgba(61, 199, 24, 0.35);
    border: 1px solid transparent;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.5s;
    left: calc(50% - 55px);

    &.hist-next {
        left: auto;
        right: calc(50% - 55px);
    }
}

.hist-btn:hover {
    background: #fff;
    transform: scale(1.1);
    color: var(--green);
    border: 1px solid var(--green);
}

.hist-btn:active {
    transform: scale(0.96);
}

.histRight {
    position: relative;
    width: 58%;
    padding: 0px 0 0px 70px;
    display: flex;
    align-items: center;
}

/* --- Slider Window (fixed viewport) --- */
.histSliderWindow {
    position: relative;
    width: 100%;
    height: 640px;
    overflow: hidden;

    &::before {
        width: 1px;
        height: 100%;
        position: absolute;
        left: 17px;
        top: 0;
        content: "";
        background-color: #d9d9d9;
    }
}

/* Fade masks — top & bottom */


/* --- Timeline --- */
.histTimeline {
    position: relative;
    padding-left: 50px;
    will-change: transform;
    padding-top: 20px;
    height: 20px;
}

.histTLine {
    position: absolute;
    left: 18px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: #ddd;
    z-index: 0;
}

/* --- Each Milestone Item --- */
.histItem {
    position: relative;
    padding-bottom: 40px;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.histItem:last-child {
    padding-bottom: 20px;
}

.histItem.active {
    opacity: 1;
}

/* Dot on the line */
.histItemDot {
    position: absolute;
    left: -42px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: #fff;
    z-index: 1;
    transition: all 0.35s ease;
}

.histItem.active .histItemDot {
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: 0 0 0 6px rgba(4, 143, 234, 0.14);
    width: 22px;
    height: 22px;
    left: -43px;
    top: 4px;
}

/* Tag */
.histItemTag {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.3px;
}

/* Auto-play progress underline on active tag */


/* Title */
.histItemTitle {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    font-family: "Nata Sans", sans-serif;
    line-height: 1.3;
}

/* Description */
.histItemDesc {
    font-size: 15px;
    color: #666;
    line-height: 1.72;
    max-width: 500px;
}

/* start values */
.valuesSec {
    background-color: var(--light-green);

    .secH span::after {
        background-image: linear-gradient(to right, #E5F8E2, #B7EBAA);
    }
}

/* end values */

/* --- Responsive --- */
@media (max-width: 1199px) {}

@media (max-width: 1199px) {
    .histWrap {
        flex-direction: column;
        gap: 20px;
    }

    .historySec .histLeft {
        text-align: center;
        padding: 45px 0px;
    }

    .historySec .histRight {
        padding: 0;
        padding-bottom: 50px;
    }

    .histNav {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 0;
        flex-direction: row;
        gap: 12px;
        transform: translateY(-50%) translateX(-50%);
    }

    .histLeft,
    .histRight {
        width: 100%;
    }

    .histLeft {
        padding: 60px 30px;
        min-height: 260px;
    }

    .histRight {
        width: 100%;
        padding: 50px 30px;
    }

    .histSliderWindow {
        height: 400px;
    }

    .hist-btn {
        transform: rotate(270deg);
        
        &:hover{
            transform: rotate(270deg);
        }

        &.hist-next {
            transform: rotate(-90deg);
        }
    }
}


@media (max-width: 767px) {

    .histItemDesc {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
    }

    .histSubtxt {
        margin-top: 0;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.5;
        text-align: center;
    }

    .histItemTitle {
        font-size: 18px;
    }

    .historySec .histLeft .graphicImg {
        opacity: 0.4;
    }

    .historySec .histRight {
        padding: 0 20px 100px !important;
    }

    .histNav{
        bottom: 15px;
    }
}

/*===historySec end===*/