.top-header {
    background: #2DB9F7;
}
nav {
    background: #2DB9F7;
    position: fixed;
    z-index: 12;
}
.menu-item:nth-last-child(2) a:hover {
    background: #000;
    color: #fff;
    text-align: center;
}
.logo-block {
    background-image: url(../img/bud2/main-bg-be.png);
    background-repeat: no-repeat;
    background-position: 2%;
}
.logo {
    position: relative;
    width: 362px;
    height: 160px;
    margin-top: 160px;
}
.logo img:last-child {
    position: relative;
    right: unset;
    bottom: unset;
}
.menu-item:nth-last-child(2) a {
    background: #fff;
    text-align: center;
}
.for-list li:before {
    display: none;
}
.for-list li {
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: none;
    width: 30%;
    flex-shrink: 0;
    padding-left: 0;
    display: flex;
    justify-content: flex-start;
    position: relative;
    align-items: flex-start;
    gap: 16px;
}
.for-list li svg {
    flex-shrink: 0;
}
.about-text {
    padding: 20px 40px;
    background: transparent;
    border: 1px solid;
    border-radius: 50px;
}
.about-text p {
    text-transform: unset;
}
.swiper-partners {
    margin: 67px auto 0px;
    overflow: hidden;
}
.about-content {
    padding: 76px 155px 52px;
    text-align: center;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}
.about-content .main-btn {
    background: #2DB9F7;
}
.about-content div {
    width: 100%;
}
.about p {
    text-align: left;
}
.main-btn {
    background: #2DB9F7;
}
.about-numbers-wrapper, .about-numbers {
    background: #CFF17E;
}
.about-numbers {
    display: flex;
    gap: 76px;
    padding: 60px 180px;
}
.numbers-item {
    flex-direction: column;
    width: calc(25% - 38px);
    align-items: flex-start;
}
.numbers-item a {
    font-size: 45px;
    font-weight: 600;
    color: #000;
    text-decoration: underline;
}
.about-numbers p {
    font-size: 22px;
}
.year-filters {
    display: flex;
    position: absolute;
    top: 70px;
    right: 400px;
    justify-content: center;
    align-items: center;
    gap: 11px;
}
.year-filters .year-filter {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}
.year-filters .year-filter.active {
    text-decoration: underline;
}
.year-filters .year-filter:hover {
    text-decoration: underline;
}
.for {
    background: #FFE67C;
}
.for-content {
    background: #FFE67C;
}
.for-content h4 {
    margin: 40px 0;
    font-size: 20px;
    font-weight: 700;
}
.for-content h3 {
    background: #fff;
}
.journey {
    background: #fff;
}
.journey-wrapper h3 {
    background: #CF5BC4;
}
.timeline-container {
    padding: 40px 0;
    background: #F5F4F7;
}

.timeline {
    position: relative;
    max-width: 1077px;
    margin: 0 auto;
    display: grid;
    padding: 0 110px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-column-gap: 70px;
}
.timeline::before {
    content: "";
    position: absolute;
    top: calc(50% + 40px);
    left: 0;
    right: 0;
    height: 2px;
    background-image: repeating-linear-gradient(
            to right,
            #000 0 8px,      /* dash length */
            transparent 8px 24px /* space after dash */
    );
    z-index: 1;
}
.event {
    grid-row: 1;
    padding: 32px 0;
    position: relative;
}
.event:nth-child(2), .event:nth-child(4) {
    grid-row: 2;
    padding-bottom: 0;
}
.event:nth-child(2) {
    grid-column: 2;
}
.event:nth-child(3) {
    grid-column: 3;
}
.event:nth-child(4) {
    grid-column: 4;
}
.event::before {
    content: "";
    width: 23px;
    height: 23px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    bottom: -8px;
    left: 0;
    transform: translateX(-50%);
}
.event:nth-child(2)::before, .event:nth-child(4)::before {
    top: -13px;
    bottom: unset;
}
.event h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.event p {
    margin: 0;
    font-size: 13px;
    color: #333;
    font-weight: 400;
}
.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 67px 0 0;
}
.questions {
    margin-top: 67px;
}
.questions .faq .question:before {
    content: url("../img/bud2/black-plus.svg");
}
.professions span:before {
    display: none;
}
.professions {
    align-items: flex-start;
    grid-column-gap: 14px;
    grid-row-gap: 16px;
    flex-wrap: wrap;
    margin-top: 45px;
    display: flex;
}
.professions span {
    font-size: 20px;
    color: #000;
    border: 1px solid #000;
    padding: 9px 30px;
    font-weight: 500;
    border-radius: 15px;
}
.get-list li {
    margin-bottom: 35px;
}
.get-list li:before {
    background-image: url(../img/bud2/sun-icon.svg);
    width: 41px;
    height: 41px;
    top: -10px;
}
.journey-wrapper h3 {
    background: #FFE67C;
    padding-left: 18px;
}
.mentors {
    background: #CF5BC4;
}
.mentors-item .info .name {
    background: #FFE67C;
}
.author-name {
    background: #CF5BC4;
}
.reviews-wrapper h3 {
    background: #84D9FF;
    color: #000;
}
.benefits-list {
    gap: 45px;
}
.benefits-list li {
    width: 25%;
}
.benefits-list li span {
    color: #000;
    font-size: 48px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid;
}
.join {
    background: #84D9FF;
}
.join .button {
    background: transparent;
    border-radius: 15px;
    border: 1px solid #000;
    color: #000;
    font-weight: 700;
}
.join-wrapper h3 {
    background: #fff;
    color: #000
}
.questions h3 {
    background: #CFF17E;
    padding-left: 18px;
}
.team {
    background-image: unset;
    background: #FFE67C;
}
.team-wrapper h3 {
    color: #000;
}
.info .name {
    background: #FFC161;
}

.course h3 {
    background: #FFE67C;
    color: #000;
    padding-left: 18px;
}
.footer-wrapper, footer {
    background: #2DB9F7;
}

.contacts {
    margin-right: unset;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.contacts a {
    color: #fff;
    font-weight: 700;
    width: 239px;
    height: 164px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: radial-gradient(50% 50% at 50% 50%, #2DB9F7 23.56%, #C2E865 100%);
    border-radius: 50px;
}
#google {
    background: #CFF17E;
}
#google h3 {
    font-weight: 500;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    margin: 21px 0;
    color: #000;
}
#google .about-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
#google .about-content .inner {
    background:  #fff;
    padding: 31px;
}
#google .about-content .g-course {
    padding: 17px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000;
    border-radius: 15px;
    margin-bottom: 30px;
    width: auto;
    min-width: 546px;
    max-width: 100%;
}
#google .about-content .g-course p {
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    text-align: center;

}
@media (max-width: 1024px) {
    .about-text-wrapper {
        padding-left: 230px;
    }
    .logo-block {
        margin: 0;
        background-position: 61%;
    }
    .about-numbers {
        display: flex;
        gap: 46px;
        padding: 60px 20px;
    }
    .timeline {
        grid-column-gap: 20px;
    }
    .year-filters {
        right: 260px;
    }

}
@media (max-width: 800px) {
    nav {
        position: relative;
    }
    .about-text-wrapper {
        padding-left: 0;
    }
    .about-content {
        padding: 40px;
    }
    .about-numbers {
        flex-wrap: wrap;
    }
    .numbers-item {
        flex-direction: column;
        width: calc(50% - 38px);
    }
    .event::before {
        bottom: -1px;
    }
    .event:nth-child(2)::before, .event:nth-child(4)::before {
        top: -20px;
        bottom: unset;
    }
    .year-filters {
        right: 260px;
        top: 24px;
    }
    .contacts {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .logo-block {
        background-image: url(../img/bud2/be3-bg-mobile.png);
        background-repeat: no-repeat;
        background-position: top center;
    }

    .logo {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 160px;
        text-align: center;
    }
    .navbar-toggle {
        background: #fff;
        margin: 0;
        z-index: 18;
        right: 20px;
        top: 10px;
    }
    .navbar-toggle .icon-bar {
        background: #2DB9F7;
    }
    .logo-block {
        background: transparent;
        padding: 60px 20px;
        width: 100%;
    }
    .header-content {
        padding: 0;
            background-image: url(../img/bud2/be3-bg-mobile.png);
            background-repeat: no-repeat;
            background-position: center 60px;
    }
    .about-numbers {
        gap: 0;
    }
    .about-numbers p {
        font-size: 22px;
    }
}
@media (max-width: 600px) {
    .numbers-item {
        flex-direction: column;
        width: 100%;
    }
    .for-list li {
        width: 100%;
    }
    .timeline {
        display: flex;
        flex-direction: column;
        grid-row-gap: 30px;
    }

    .timeline:before {
        content: "";
        position: absolute;
        top: 0;
        left: 80px;
        transform: translateX(-50%);
        width: 2px; /* Line thickness */
        height: 100%;
        background-image: repeating-linear-gradient(
                to bottom,
                #000 0 8px,         /* 8px dash */
                transparent 8px 16px /* 8px space after each dash */
        );
        z-index: 1;
    }
    .event {
        grid-row: unset;
        grid-column: unset !important;
        padding: 0;
        position: relative;

    }
    .event::before {
        bottom: unset !important;
        left: -30px;
        top: 10px !important;
    }
    .year-filters {
        right: 24px;
        top: 124px;
    }
    .benefits-list {
        flex-direction: column;
    }
    .benefits-list li {
        width: 100%;
    }
    .year-filters {
        right: 24px;
        top: 43px;
    }
    .quote {
        position: relative;
        font-size: 16px;
        font-weight: 500;
    }
    .questions .faq .question {
        font-size: 20px;
    }
    .questions .faq .answer {
        font-size: 18px;
        padding: 16px;
    }
    .course-desc {
        font-size: 20px;
    }
}