
.about_us_new_blue_on_top .achievements::before {
    display: none !important;
}


/* ---------- TIMEMAP (desktop) ---------- */
.timemap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 40px;
}

/* vertical dashed line */
.timemap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 170px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 50%,
        transparent 100%
    );
    background-size: 2px 16px;
    background-repeat: repeat-y;
    transform: translateX(-50%);
    z-index: 0;
}

.timemap-item {
    position: relative;
    display: flex;
    z-index: 1;
}

/* синя точка – винаги в най-горната част на елемента */
.timemap-dot {
    position: absolute;
    left: 50%;
    top: 0;                      /* ВАЖНО → не 50% */
    width: 10px;
    height: 10px;
    background: #2593f9;
    transform: translateX(-50%);
    border-radius: 2px;
}

.scroll-point {
    position: absolute;
    left: 50%;
    top: -40px;                      /* това е елемент койсе се използва като точка от която да се кролира до слевдащтата в JS */
    width: 10px;
    height: 10px;
    background: transparent;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* базови стилове за годината */
.timemap-date {
    position: absolute;
    top: 0;                      /* на нивото на точката */
    left: 50%;                   /* център върху линията */
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 110%;
    color: #ffffff;
    white-space: nowrap;
}

/* ако картата е вдясно → годината минава вляво */
.timemap-item:nth-child(even) .timemap-date {
    transform: translateX(40%);
    text-align: right;
}

/* ако картата е вляво → годината е вдясно */
.timemap-item:nth-child(odd) .timemap-date {
    transform: translateX(-140%);
    text-align: left;
}

/* карта с иконка + текст */
.timemap-card {
    max-width: 420px;
    padding: 0 40px;
    display: flex;
    gap: 12px;
}

/* odd → картата е вдясно */
.timemap-item:nth-child(even) .timemap-card {
    margin-right: 50%;
    margin-left: auto;
    text-align: right;
    flex-direction: column;
    align-items: end;
}

/* even → картата е вляво */
.timemap-item:nth-child(odd) .timemap-card {
    margin-left: 50%;
    margin-right: auto;
    flex-direction: column;
    align-items: start;
}

.timemap-item:nth-child(even) .timemap-content {
    text-align: right;
}

.timemap-item:nth-child(odd) .timemap-content {
    text-align: left;
}

/* icon box */
.timemap-icon {
    width: 48px;
    height: 48px;
    background: #2593f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timemap-icon img {
    width: 24px;
    height: 24px;
}

/* text */

.timemap-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timemap-content h3 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 0px;
}

.timemap-content p {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 110%;
    color: rgba(255, 255, 255, 1);
    margin: 0;
}

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

    .timemap {
        padding: 60px 0;
        gap: 56px;
    }

    /* позиция на вертикалната линия на мобилна */
    .timemap::before {
        left: 86px;
        transform: none;
    }

    .timemap-item {
        padding: 0 16px;
    }

    /* точката по средата на реда */
    .timemap-dot {
        left: 72px;
        top: 5px;
        transform: translate(-50%, -50%);
    }

    /* годината – вляво от линията, центрирана по височина */
    .timemap-date {
        position: absolute;
        top: 0;
        left: 16px;
        transform: translateY(-50%);
        width: 48px;              /* малка колона за датата */
        text-align: right;
        font-size: 14px;
        line-height: 1.3;
    }

    /* картата – винаги вдясно от линията */
    .timemap-card {
        max-width: 100%;
        margin: 0;
        margin-left: 96px;        /* малко след линията/точката */
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        text-align: left !important;
    }

    /* зануляваме odd/even, всичко е еднакво на мобилна */
    .timemap-item:nth-child(odd) .timemap-card,
    .timemap-item:nth-child(even) .timemap-card {
        margin-left: 96px;
        margin-right: 0;
        align-items: start;
    }

    .timemap-item:nth-child(odd) .timemap-content,
    .timemap-item:nth-child(even) .timemap-content {
        text-align: left;
    }
    
    .timemap-item:nth-child(odd) .timemap-date,
    .timemap-item:nth-child(even) .timemap-date{
        transform: translateX(0%);
        text-align: right;
        max-width: 40px;
        text-wrap: auto;
    }

    .timemap-content h3 {
        font-size: 17px;
    }

    .timemap-content p {
        font-size: 14px;
    }

    .timemap-icon {
        width: 48px;
        height: 48px;
    }

    .timemap-icon img {
        width: 24px;
        height: 24px;
    }
}


/* VERTICAL SLIDER – работи за всеки .timemap.timemap-slider */

.timemap-slider {
    height: 70vh;
    overflow: hidden;
    scroll-behavior: auto;
    /*overflow-y: auto;*/
    position: unset;
}


/* общ стил за стрелките */
.timemap-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.timemap-arrow i {
    font-size: 18px;
    line-height: 1;
}

/* позиция на горната и долната стрелка */
.timemap-arrow-up {
    top: 120px;
}

.timemap-arrow-down {
    bottom: -10px;
}

/* визуален hover */
.timemap-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #fff;
}

/* по-малки бутони на малки екрани (по желание) */
@media (max-width: 767px) {
    
    .timemap-slider {
        height: 60vh;
    }
    
    .timemap-arrow {
        width: 56px;
        height: 56px;
    }
    .timemap-arrow i {
        font-size: 16px;
    }
}

/* ---------- TIMEMAP SLIDER MASKS (TOP & BOTTOM) ---------- */

.timemap-mask-top,
.timemap-mask-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 90px;          /* можеш да настроиш */
    pointer-events: none;
    z-index: 1;             /* под стрелките (10), над съдържанието */
}

/* горна маска */
.timemap-mask-top {
    display: none;
    top: 130px;
    filter: blur(30px);
    background: linear-gradient(
        to bottom,
        rgba(15, 15, 20, 1) 0%,
        rgba(15, 15, 20, 0.7) 40%,
        rgba(15, 15, 20, 0) 100%
    );
}

/* долна маска */
.timemap-mask-bottom {
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(15, 15, 20, 1) 0%,
        rgba(15, 15, 20, 0.7) 40%,
        rgba(15, 15, 20, 0) 100%
    );
}

/* централна синя светлина зад таймлайна */
.timemap-center-glow {
    position: absolute;
    top: 20%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 420px; /* регулирай според вкуса си */
    pointer-events: none;
    z-index: 0; /* под линията и картите, над фона */
    filter: blur(40px);
    background: radial-gradient(
        ellipse at center,
        rgba(37, 147, 249, 0.40) 0%,
        rgba(37, 147, 249, 0.18) 28%,
        rgba(37, 147, 249, 0.05) 52%,
        rgba(37, 147, 249, 0.0) 100%
    );
    
    
}
@media (max-width: 1199px) {
    .timemap-mask-top {
        top: 130px;
    }
    
    .timemap-arrow-up {
        top: 130px;
    }
    
    .timemap-mask-top, .timemap-mask-bottom {
        height: 100px;
    }
}

@media (min-width: 1200px) {
    .timemap-at-start.timemap::before {
        top: 186px;
    }
}

/* мобилна – когато сме на първата точка */
@media (max-width: 1199px) {
    .timemap-at-start.timemap::before {
        top: 223px;
    }
}

.timemap .timemap-arrow-up {
    display: block;
}

.timemap-at-start.timemap .timemap-arrow-up {
    display: none;
}









