/*
Swiper
    */
/* Section news/projects titles: accent word is terracotta. */
.section-news h2 span,
.section-projects h2 span {
    color: var(--color-brand-terracotta);
}

.section-news .swiper-container-wrapper,
.section-projects .swiper-container-wrapper,
.section-career-review .swiper-container-wrapper {
    position: relative;
}

.section-news .swiper-container-wrapper:not(.section-news__slider-wrapper),
.section-projects .swiper-container-wrapper {
    margin-bottom: var(--spacing-40);
}

.section-news .swiper,
.section-projects .swiper {
    position: static;
}

.section-news .swiper .swiper-pagination-bullet,
.section-projects .swiper .swiper-pagination-bullet,
.section-career-review .swiper .swiper-pagination-bullet {
    background: #1a1a1a;
    width: 10px;
    height: 10px;
}

.section-news .swiper .swiper-button-next,
.section-news .swiper .swiper-button-prev,
.section-projects .swiper .swiper-button-next,
.section-projects .swiper .swiper-button-prev,
.section-career-review .swiper .swiper-button-prev,
.section-career-review .swiper .swiper-button-prev {
    position: absolute;
    top: -10%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 10;
    width: 20px;
    height: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-transition: all var(--transition-duration-slow) var(--transition-timing-function);
    transition: all var(--transition-duration-slow) var(--transition-timing-function);
    color: var(--color-brand-teal-500);
}
.section-screenshots .swiper .swiper-button-prev,
.section-screenshots .swiper .swiper-button-next{
    color: var(--color-brand-teal) !important;
}
.section-screenshots.swiper .swiper-button-next:hover,
.section-screenshots .swiper .swiper-button-prev:hover {
    color: var(--color-brand-teal-500) !important;
}
.section-news .swiper .swiper-button-next,
.section-news .swiper .swiper-button-prev {
    color: var(--color-brand-teal);
}

.section-news .swiper .swiper-button-next:hover,
.section-news .swiper .swiper-button-prev:hover {
    color: var(--color-brand-teal-500);
}

.section-career-review .swiper .swiper-button-next:hover,
.section-career-review .swiper .swiper-button-prev:hover {
    color: var(--secondary-text);
}

.section-projects .swiper .swiper-button-next:hover,
.section-projects .swiper .swiper-button-prev:hover {
    color: var(--color-brand-teal);
}

.section-news .swiper .swiper-button-next.swiper-button-disabled,
.section-news .swiper .swiper-button-prev.swiper-button-disabled,
.section-projects .swiper .swiper-button-next.swiper-button-disabled,
.section-projects .swiper .swiper-button-prev.swiper-button-disabled,
.section-career-review .swiper .swiper-button-next.swiper-button-disabled,
.section-career-review .swiper .swiper-button-prev.swiper-button-disabled,
.section-screenshots .swiper .swiper-button-next.swiper-button-disabled,
.section-screenshots .swiper .swiper-button-prev.swiper-button-disabled {
    color: var(--secondary-text, #6E6E6E);
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.section-news .swiper .swiper-button-next.swiper-button-disabled:hover,
.section-news .swiper .swiper-button-prev.swiper-button-disabled:hover,
.section-projects .swiper .swiper-button-next.swiper-button-disabled:hover,
.section-projects .swiper .swiper-button-prev.swiper-button-disabled:hover,
.section-career-review .swiper .swiper-button-next.swiper-button-disabled:hover,
.section-career-review .swiper .swiper-button-prev.swiper-button-disabled:hover,
.section-screenshots .swiper .swiper-button-next.swiper-button-disabled:hover,
.section-screenshots .swiper .swiper-button-prev.swiper-button-disabled:hover {
    color: var(--secondary-text, #6E6E6E);
}

.section-news .swiper .swiper-button-next:after,
.section-news .swiper .swiper-button-prev:after,
.section-projects .swiper .swiper-button-next:after,
.section-projects .swiper .swiper-button-prev:after,
.section-career-review .swiper .swiper-button-next:after,
.section-career-review .swiper .swiper-button-prev:after {
    font-size: 30px;
}

.section-news .swiper .swiper-button-next,
.section-projects .swiper .swiper-button-next,
.section-career-review .swiper .swiper-button-next {
    right: 0;
}

.section-news .swiper .swiper-button-prev,
.section-projects .swiper .swiper-button-prev,
.section-career-review .swiper .swiper-button-prev {
    left: calc(100% - 80px);
}

.section-news .swiper .swiper-pagination,
.section-projects .swiper .swiper-pagination,
.section-career-review .swiper .swiper-pagination {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.section-news .swiper .swiper-pagination .swiper-pagination-progressbar-fill,
.section-projects .swiper .swiper-pagination .swiper-pagination-progressbar-fill,
.section-career-review .swiper .swiper-pagination .swiper-pagination-progressbar-fill {
    background-color: var(--accent-blue);
}

@media screen and (max-width: 639px) {

    .section-news .swiper .swiper-button-next,
    .section-news .swiper .swiper-button-prev,
    .section-projects .swiper .swiper-button-next,
    .section-projects .swiper .swiper-button-prev,
    .section-career-review .swiper .swiper-button-next,
    .section-career-review .swiper .swiper-button-prev {
        display: none !important;
    }

    .section-news .swiper .swiper-pagination,
    .section-projects .swiper .swiper-pagination,
    .section-career-review .swiper .swiper-pagination {
        position: relative !important;
        margin-top: 20px;
        left: 50% !important;
transform: translateX(-50%);
    }

    .swiper-pagination:not(.reviews-homepage__slider-pagination):not(.swiper-pagination-bullets-dynamic) {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        position: relative !important;
        margin-top: 24px !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
    }

    /* Dynamic bullets rely on Swiper's inline width and its own centring.
       The flex/auto-width rule above would make the strip full-width and
       shift it as the active slide changes. */
    .swiper-pagination.swiper-pagination-bullets-dynamic {
        display: block !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        white-space: nowrap;
    }

    .swiper-pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
        margin: 0 4px !important;
    }

    .swiper-pagination:not(.reviews-homepage__slider-pagination) .swiper-pagination-bullet {
        background: var(--secondary-text, #6E6E6E) !important;
        opacity: 0.5 !important;
        width: 8px !important;
        height: 8px !important;
        margin: 0 !important;
        transition: opacity 0.3s ease, background 0.3s ease !important;
    }

    .swiper-pagination:not(.reviews-homepage__slider-pagination) .swiper-pagination-bullet-active {
        background: var(--color-brand-teal) !important;
        opacity: 1 !important;
    }

    .section-news .swiper .swiper-pagination-bullet-active {
        background: var(--color-brand-teal) !important;
    }

    .section-techstack .swiper .swiper-pagination-bullet-active {
        background: var(--color-brand-teal) !important;
    }
}

@media screen and (min-width: 640px) {

    .section-news .swiper .swiper-pagination,
    .section-projects .swiper .swiper-pagination,
    .section-career-review .swiper .swiper-pagination {

        display: none !important;

    }
}

.swiper-pagination-lock {
    display: none !important;
}

.swiper-button-lock {
    display: none !important;
}

.section-techstack .swiper-pagination-bullet {
    background: #1a1a1a;
    width: 10px;
    height: 10px;
}

.section-techstack .swiper-button-next,
.section-techstack .swiper-button-prev {
    display: none !important;
}

.section-techstack h2 span {
    color: var(--color-brand-terracotta);
}

/* DevOps and UX/UI pages: white surface and standard section padding,
   not margins. */
.page-devops .section-techstack,
.page-ux-ui-design .section-techstack {
    background: #fff;
    margin-bottom: 0;
    padding-top: var(--spacing-80);
    padding-bottom: var(--spacing-80);
}

.page-devops .section-techstack__wrapper,
.page-ux-ui-design .section-techstack__wrapper {
    margin-bottom: 0;
}

/* Small breathing room between the logo carousel and its dots. */
.page-devops .section-techstack .swiper-pagination,
.page-ux-ui-design .section-techstack .swiper-pagination {
    bottom: 0;
}

.section-techstack__wrapper {
    margin-bottom: var(--spacing-40);

}

.section-techstack__item {
    width: auto;
    position: relative;
    z-index: 1;
}

.section-techstack__item img {
    max-width: 90px;
    width: 100%;
    height: auto;

}

.section-techstack .swiper {
    overflow: visible !important;
    padding: 20px 0;
}

.section-techstack .container {
    overflow-x: hidden;
}

.section-techstack__tool-title {
    position: absolute;
    bottom: calc(100%);
    left: 45px;
    transform: translateX(-50%) scale(0.95) translateY(10px);
    background: linear-gradient(135deg, var(--color-brand-terracotta-300), var(--color-brand-terracotta-200));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
    width: max-content;
    max-width: 90vw;
    text-align: center;
    line-height: 1.4;
    transition: all 0.25s;
    transform-origin: bottom center;
    will-change: transform, opacity;
    white-space: nowrap;
}


.section-techstack__tool-title::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #d07c5c;
}

.section-techstack__item:hover .section-techstack__tool-title {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1) translateY(0);
    transition-delay: 0.15s;
}

.section-techstack__item:not(:hover) .section-techstack__tool-title {
    transition: all 0.1s ease-out !important;
    transition-delay: 0s !important;
}

.section-techstack__item:hover {
    z-index: 10;
}



@media screen and (max-width: 640px) {
    .section-techstack__item img {
        max-width: 80px;
    }

    .section-techstack__tool-title {
        left: 40px;
    }
}

@media screen and (max-width: 480px) {
    .section-techstack__item img {
        max-width: 70px;
    }

    .section-techstack__tool-title {
        left: 35px;
    }
}

@media screen and (max-width: 639px) {

    .section-techstack .swiper-pagination {
        position: relative !important;
        margin-top: 20px;
        left: 50% !important;
transform: translateX(-50%);
    }

}

@media screen and (min-width: 640px) {

    .section-techstack .swiper-pagination {
        display: block !important;
    }
}
.section-screenshots .swiper-button-prev{
    left: 0 !important;
}
.section-screenshots .swiper-button-next{
    right: 0 !important;
}