:root {
    --page-text-color: #0B0C0D;
    --page-secondary-bg: #FFDD57;
    --page-primary-bg: #4A4BA0;
    --page-light-bg: #F5F5FC;
    --text-grey: #3F4751;
}

.button {
    border-radius: unset !important;
    font-family: 'Gilroy' !important;
    padding: 12px 16px !important;
}

.page-secondary-bg {
    background-color: var(--page-secondary-bg);
}

.page-primary-bg {
    background: var(--page-primary-bg);
}

.page-light-bg {
    background-color: var(--page-light-bg);
}

.text-grey {
    color: var(--text-grey);
}

.button-primary-alt:hover {
    background-color: var(--white-color) !important;
    color: var(--page-text-color) !important;
}

.button-primary:hover path {
    fill: unset;
    stroke: var(--white-color) !important;
}

.button-primary-alt:hover path {
    stroke: var(--page-text-color) !important;
    fill: unset;
}

.z-indexup {
    position: relative;
    z-index: 1;
}

.circle-icon,
.border-0 {
    border: none;
}

.link-active {
    color: var(--primary-color-600) !important;
    text-decoration: underline !important;
    font-weight: 600;
    font-size: calc(1rem + 0.208vw);
}

.link-blk {
    color: var(--white-color) !important;
    text-decoration: underline !important;
    font-size: calc(1rem + 0.208vw);
    font-weight: 600;
}

/* Hero Section */

.hero-section {
    background-color: var(--page-primary-bg);
}

.shape-block {
    position: absolute;
    bottom: 0;
}

/* Counter */

.page-counter {
    background-color: var(--page-secondary-bg);
    padding: 80px 80px;
}

.counter-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 0;
}

.counter-theme {
    color: var(--page-text-color);
    border-right: 1.5px solid #00000040;
    padding: 0 28px;
    width: 33.33%;
}

.highlight__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    width: fit-content;
    color: var(--page-text-color) !important;
}

.highlight__link::after {
    content: '';
    background-image: url(../images/education-img/highlight-underline.webp);
    height: 30px;
    width: 100%;
    position: absolute;
    top: 100%;
    right: 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.highlight__link svg {
    transition: all 0.3s;
}

.highlight__link:hover svg {
    transition: all 0.3s;
    transform: translateX(10px);
}

/* Product Block */

.product-block {
    padding: 30px 30px;
    transition: all 0.3s;
    border: 1px solid #00000033;
}

.product-block:hover {
    background: var(--white-color);
    box-shadow: 6px 8px 1px rgba(0, 0, 0, 1);
    border-color: #000;
}

/* Technology Slider */

.technology-slider {
    width: 100%;
    overflow-x: hidden;
    padding: 0 0 6px;
}

.technology-slider .swiper-slide {
    height: auto !important;
}

.technology-block {
    padding: 30px 30px;
    transition: all 0.3s;
    border: 1px solid #00000026;
    height: 100%;
    cursor: none;
}

.technology-block:hover {
    background: var(--white-color);
    box-shadow: 6px 8px 1px rgba(0, 0, 0, 1);
    border-color: #000;
}

.cursor {
    position: fixed;
    left: var(--cursor-x);
    top: var(--cursor-y);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    background:var(--page-primary-bg);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

body.show-custom-cursor .cursor {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.slider-btn {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: 50px 0 0;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-button-next-tech,
.swiper-button-prev-tech {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border: 1px solid var(--page-primary-bg);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: static !important;
    color: var(--page-primary-bg);
    margin: unset !important;
    z-index: 1 !important;
    transition: ease-in 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover,
.swiper-button-next-tech:hover,
.swiper-button-prev-tech:hover {
    background: var(--page-primary-bg);
    border-color: var(--white-color);
    color: var(--white-color);
    transition: ease-in 0.3s;
}

.swiper-button-next:after,
.swiper-button-prev:after,
.swiper-button-next-tech:after,
.swiper-button-prev-tech:after {
    font-size: 16px;
}

.swiper-button-next-tech:after,
.swiper-button-prev-tech:after {
    font-family: swiper-icons;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}
.swiper-button-next-tech:after,
.swiper-rtl .swiper-button-prev-tech:after {
    content: 'next';
}

.swiper-button-prev-tech:after,
.swiper-rtl .swiper-button-next-tech:after {
    content: 'prev';
}

/* Portfolio Slider */

.case-slide-wrap {
    border-radius: 20px;
    padding: 40px 40px;
}

.case-slide-wrap .case-img {
    max-height: 350px;
    text-align: center;
}

.case-slide-wrap .case-logo img {
    height: 50px;
}

.case-slide-wrap .available-icon {
    width: 30px;
}

.case-slide-wrap .available-icon.white {
    filter: invert(1);
}

.alt-btn {
    background-color: var(--white-color);
    color: var(--page-text-color);
    transition: all 0.3s;
    padding: 12px 30px;
    border-radius: 8px !important;
    border: 1.5px solid var(--white-color) !important;
}

.alt-btn:hover {
    background: var(--page-secondary-bgr);
    color: var(--white-color);
    transition: all 0.3s;
}

/* App Grid Block */

.app-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid #00000033;;
}

.border-card {
    padding: 30px 30px 0 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    border-right: 1px solid #00000033;;
    border-bottom: 1px solid #00000033;;
}

.card-imgbox {
    width: 138px;
    height: 220px;
    flex-shrink: 0;
    margin-bottom: -3px;
    align-self: flex-end;
}

.card-con-wrap {
    padding: 0 0 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.card-grid .border-card:nth-child(3),
.card-grid .border-card:nth-child(6),
.card-grid .border-card:nth-child(9),
.card-grid .border-card:nth-child(12) {
    border-right: unset;
}

.card-grid .border-card:nth-child(10),
.card-grid .border-card:nth-child(11),
.card-grid .border-card:nth-child(12) {
    border-bottom: unset;
}

/* Development Block */

.sticky-column {
    position: sticky;
    top: 160px;
}

.develop-block {
    background-image: url(../images/education-img/develop-img-1.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--page-primary-bg);
    padding: 30px 30px;
    color: var(--white-color);
    transition: all 0.2s;
}

.develop-block:hover {
    background: var(--page-primary-bg) !important;
}

.develop-block.dev-block-2 {
    background-image: url(../images/education-img/develop-img-2.webp);
}

.develop-block.dev-block-3 {
    background-image: url(../images/education-img/develop-img-3.webp);
}

.develop-block.dev-block-4 {
    background-image: url(../images/education-img/develop-img-4.webp);
}

.develop-block.dev-block-5 {
    background-image: url(../images/education-img/develop-img-5.webp);
}

.develop-block.dev-block-6 {
    background-image: url(../images/education-img/develop-img-6.webp);
}

/* Tech Stack */

.tech-wrappper {
    background-color: var(--white-color);
    padding: 30px 30px;
    text-align: center;
    transition: all 0.3s;
    width: 100%;
}

.tech-wrappper:hover {
    transform: translateY(-5px);
}

.tech-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    text-align: -webkit-match-parent;
}

.tech-list li {
    text-align: center;
}

.tech-list li p {
    font-size: 14px !important;
}

.tech-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    min-width: 70px;
    border: 1px solid #DEDEDE;
    border-radius: 50px;
    margin: 0 auto 8px;
    padding: 12px;
}

/* Choose Block */

.choose-blk {
    display: flex;
    align-items: center;
    padding: 30px 30px;
    border: 1px solid #B7B7B766;
    gap: 50px;
    transition: all 0.3s;
}

.choose-icon {
    width: 100%;
    max-width: 120px;
}

.choose-blk:hover {
    background: var(--white-color);
    box-shadow: 4px 6px 1px rgba(0, 0, 0, 1);
    border-color: #000;
}

/* Cta Wrapper */

.cta-block {
    background-color: var(--page-primary-bg);
    background-size: cover;
    background-repeat: no-repeat;
}

.cta-block svg {
    width: 100%;
}

.animate-path {
    transform: rotate(0);
    transform-origin: bottom;
    transition: all 0.5s;
}

.animate-speed {
    animation: arrow-animate 3s forwards;
}

main .accordion-flush .accordion-item .accordion-button.collapsed {
    padding: 36px 0;
    font-size: 24px;
}

@keyframes arrow-animate {
    0% {
        transform: rotate(0);
    }

    100% {
        translate: 20px;
        transform: rotate3d(-3, -30, 54, -95deg);
    }
}

/* Responsive */

@media (max-width: 1599px) {

    .padding-left {
        --page-width: 1200px;
        padding-left: calc(50% - (var(--page-width) / 2) + 12px);
    }

}

@media only screen and (max-width: 1475px) {
    
    .tech-img {
        width: 56px;
        height: 56px;
        min-width: 56px;
        padding: 8px;
    }

    .tech-list {
        gap: 20px;
    }

    .tech-wrappper,
    .develop-block,
    .technology-block,
    .product-block,
    .choose-blk {
        padding: 20px 20px;
    }

    .card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card-grid .border-card:nth-child(2),
    .card-grid .border-card:nth-child(4),
    .card-grid .border-card:nth-child(5),
    .card-grid .border-card:nth-child(8),
    .card-grid .border-card:nth-child(10),
    .card-grid .border-card:nth-child(12) {
        border-right: unset;
    }

    .card-grid .border-card:nth-child(10) {
        border-bottom: 1px solid #00000033;;
    }

    .card-grid .border-card:nth-child(3),
    .card-grid .border-card:nth-child(5),
    .card-grid .border-card:nth-child(9) {
        border-right: 1px solid #00000033;;
    }

    .card-grid .border-card:nth-child(11),
    .card-grid .border-card:nth-child(12) {
        border-bottom: unset;
    }

}

@media only screen and (max-width: 991px) {

    .slider-btn {
        display: flex !important;
    }

    .text-align-center {
        text-align: center;
    }

    .highlight__link {
        margin: 0 auto 30px;
    }

    .page-counter {
        padding: 50px 20px;
    }

    .padding-left {
        padding-inline: 12px !important;
    }
}

@media only screen and (max-width: 767px) {

    .card-grid {
        grid-template-columns: 1fr;
    }

    .border-card {
        padding: 20px 20px 0 20px;
        gap: 20px;
        border-right: unset !important;
        border-bottom: 1px solid #00000033 !important;
    }

    .counter-grid {
        justify-content: space-between;
    }

    .counter-theme {
        padding: 0 15px;
        width: 49%;
        text-align: center;
    }

    .counter-grid .counter-theme:nth-child(2), .counter-grid .counter-theme:nth-child(4) {
        border: none;
    }

    .counter-grid .counter-theme:nth-child(3) {
        border-right: 1.5px solid !important;
    }

    .choose-blk {
        flex-direction: column-reverse;
        align-items: baseline;
    }

    .case-slide-wrap {
        padding: 20px 20px;
        overflow: hidden;
        height: 100%;
    }
}

@media only screen and (max-width: 500px) {

    .page-counter {
        padding: 40px 10px;
    }
    
    .border-card {
        flex-direction: column;
        align-items: baseline !important;
        justify-content: flex-start !important;
    }

    .card-imgbox {
        align-self: unset;
        width: 100%;
        height: auto;
    }

    .button {
        padding: 12px 16px !important;
        font-size: 18px;
        font-weight: 500;
    }

    .card-grid .border-card:nth-child(12) {
        border-bottom: unset;
    }
}

