#growth-map {
    display: grid;
    grid-template-columns: 350px 1fr;
    grid-template-rows: auto 1fr 90px;
    width: 100%;
    height: 750px;
    background-color: #003E62;

}

#growth-map .map-wrapper {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    position: relative;
    overflow: hidden;
}

#growth-map .map-wrapper .svg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.0);
    transform-origin: top left;
    transition: transform 1s ease;
}

#growth-map .map-wrapper .svg-wrapper svg {
    transform: scaleY(1.5);
    transform-origin: top left;
    /* border: red dashed 1px; */
}

#growth-map .map-wrapper .svg-wrapper svg path {
    fill: #004F74;
    transition: fill 0.5s ease;
}

#growth-map .map-wrapper .svg-wrapper .points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#growth-map .map-wrapper .svg-wrapper .points .point {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #4AB79D;
    border-radius: 50%;
    pointer-events: all;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
    top: calc(var(--y) * 1px);
    left: calc(var(--x) * 1px);

    animation: entryPulse 1s ease;
    animation-fill-mode: forwards;
}

@keyframes entryPulse {
    0% {
        transform: scale(10);
        opacity: 0.1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#growth-map .title {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    color: white;
    font-size: 42px;
    font-weight: normal;
    line-height: 1;
    padding: 3rem;
    padding-bottom: 10px;
}

#growth-map .info-wrapper {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    color: white;
    background: #003E62;
}

#growth-map .info-wrapper .boxes {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#growth-map .info-wrapper .boxes .box {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

#growth-map .info-wrapper .boxes .box .label {
    font-size: 18px;
    color: #A4C8D7;
}

#growth-map .info-wrapper .boxes .box .value {
    font-size: 36px;
    font-weight: normal;
    color: #FFFFFF;
}


#growth-map .timeline {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
    background-color: #003E62;
    padding: 2rem 3rem;
    color: #fff;
}

#growth-map .timeline .progress {
    width: 100%;
    height: 32px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#growth-map .timeline .progress:before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #337290;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(50%);
    z-index: 0;
}

#growth-map .timeline .progress .bar {
    width: 0%;
    height: 3px;
    background-color: #4AB79D;
    position: absolute;
    z-index: 1;
    border-radius: 100px;
    bottom: 50%;
    transform: translateY(50%);
    left: 0;
}

#growth-map .timeline .progress .divider {
    width: 1px;
    height: 15px;
    background-color: #337290;
}

#growth-map .timeline .progress .divider.passed {
    background-color: #4AB79D !important;
}

#growth-map .timeline .progress .divider[data-year] {
    width: 1px;
    height: 30px;
    background-color: #337290;
    position: relative;
}

#growth-map .timeline .progress .divider[data-year]:before {
    content: attr(data-year);
    position: absolute;
    top: -22px;
    left: 0px;
    font-size: 14px;
    color: #337290;
    transform: translateX(-50%);
    transition: color 0.3s ease;
}

#growth-map .timeline .progress .divider[data-year].passed:before {
    color: #fff;
    font-weight: bold;
}

@media (max-width: 768px) {
    #growth-map {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        height: auto;
    }

    #growth-map .title {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
        font-size: 35px;
        margin-bottom: 0rem;
        padding: 1rem;
    }

    #growth-map .map-wrapper {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
        height: 500px;
    }

    #growth-map .timeline {
        grid-column: 1 / -1;
        grid-row: 3 / 4;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 2rem;
        padding-bottom: 1rem;
        display: flex;
        overflow: hidden;
    }

    #growth-map .timeline .progress {
        min-width: calc(var(--divider-count) * 35px);
        transform: translateX(calc(var(--progress) * var(--w) * -1px));
        flex-shrink: 0;
    }

    #growth-map .info-wrapper {
        grid-column: 1 / -1;
        grid-row: 4 / 5;
        padding: 1rem;
    }

    #growth-map .info-wrapper .boxes {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 1rem;
    }

    #growth-map .info-wrapper .boxes .box {
        max-width: 100%;
        gap: 0.5rem;
        padding-right: 1rem;
    }

    #growth-map .info-wrapper .boxes .box .label {
        font-size: 16px;
    }

    #growth-map .info-wrapper .boxes .box .value {
        font-size: 24px;
    }
}