.hero-calculator {
    position: relative;
    padding: 170px 0 0;
}

.hero-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(179.5deg, rgba(0, 0, 0, 0) 0.44%, #000000 119.12%), linear-gradient(0.62deg, rgba(0, 0, 0, 0) 81.46%, #000000 99.49%);
    height: 100%;
    width: 100%;
    z-index: 1;
}

.hero-calculator .hero-calculator-bg-video {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.hero-calculator .hero-calculator-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-calculator.bg-image {
    background: url('../images/hero-bg.jpg') no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 280px 0 200px;
}

.hero-calculator.bg-image.hero-calculator-slider-layout {
    background: none;
    padding: 0;
}

.hero-calculator.hero-calculator-slider-layout .hero-calculator-slide {
    position: relative;
    background: url('../images/hero-bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 280px 0 200px;
}

.hero-calculator.hero-calculator-slider-layout .hero-calculator-slide.slide-2 {
    background: url('../images/hero-bg-2.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-calculator.hero-calculator-slider-layout .hero-calculator-slide::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(179.5deg, rgba(0, 0, 0, 0) 0.44%, var(--dark-color) 119.12%), linear-gradient(0.62deg, rgba(0, 0, 0, 0) 81.46%, var(--dark-color) 99.49%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-calculator.hero-calculator-slider-layout .hero-calculator-slide .hero-calculator-slider-image {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.hero-calculator.hero-calculator-slider-layout .hero-calculator-slide .hero-calculator-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-calculator.hero-calculator-slider-layout .hero-calculator-pagination {
    position: absolute;
    bottom: 30px;
    text-align: center;
    z-index: 2;
}

.hero-calculator.hero-calculator-slider-layout .hero-calculator-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 1;
    transition: all 0.3s ease-in-out;
    margin: 0 5px;
}

.hero-calculator.hero-calculator-slider-layout .hero-calculator-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.hero-calculator.bg-image .hero-calculator-content .section-title p {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 20px;
}

.hero-calculator.bg-image .hero-calculator-content .hero-calculator-btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 30px;
}

.hero-calculator-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero-calculator-content .section-title {
    margin-bottom: 0;
}

.hero-calculator-content .section-title h3 {
    margin-bottom: 10px;
}

.hero-calculator-images {
    position: relative;
    width: 100%;
    max-width: 530px;
    margin: 0 auto;
}

.hero-calculator-image img {
    width: 100%;
    aspect-ratio: 1 / 1.01;
    object-fit: contain;
    transition: all 0.4s ease-in-out;
}

.hero-calculator-image:hover img {
    filter: grayscale(100%);
}

.icon-hero-img-1 {
    position: absolute;
    top: 80px;
    left: -15px;
    animation: iconheroimgup 3s infinite alternate;
}

@keyframes iconheroimgup {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateY(-50px)
    }
}

.icon-hero-img-2 {
    position: absolute;
    top: 50px;
    right: -15px;
    animation: iconheroimgdown 3s infinite alternate;
}

@keyframes iconheroimgdown {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateY(50px)
    }
}

.icon-hero-img-2 figure,
.icon-hero-img-1 figure {
    position: relative;
    background-color: var(--accent-color);
    border-radius: 50%;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-hero-img-2 figure::before,
.icon-hero-img-1 figure::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transition: all 0.4s ease-in-out;
    z-index: 0;
}

.icon-hero-img-2 figure:hover::before,
.icon-hero-img-1 figure:hover::before {
    transform: scale(1);
}

.icon-hero-img-2 figure img,
.icon-hero-img-1 figure img {
    position: relative;
    max-width: 41px;
    aspect-ratio: auto;
    z-index: 1;
}

.hero-calculator-image-tag-1 {
    position: absolute;
    bottom: 10px;
    left: 0;
    animation: herotag-left 3s infinite alternate;
}

@keyframes herotag-left {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(50px)
    }
}

.hero-calculator-image-tag-2 {
    position: absolute;
    bottom: 90px;
    right: 0;
    animation: herotag-right 3s infinite alternate;
}

@keyframes herotag-right {
    0% {
        transform: translateX(0)
    }
    100% {
        transform: translateX(-50px)
    }
}

.hero-calculator-image-tag-1 a,
.hero-calculator-image-tag-2 a {
    position: relative;
    background-color: var(--accent-color);
    border-radius: 100px;
    display: inline-block;
    color: var(--dark-color);
    font-weight: 500;
    text-transform: capitalize;
    padding: 12px 25px;
    overflow: hidden;
    z-index: 1;
}

.hero-calculator-image-tag-1 a::before,
.hero-calculator-image-tag-2 a::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    background: var(--primary-color);
    width: 100%;
    height: 0;
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.hero-calculator-image-tag-1 a:hover:before,
.hero-calculator-image-tag-2 a:hover:before {
    bottom: 0;
    top: auto;
    height: 100%;
}

.hero-calculator-ticker-box {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    --gap: 40px;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
    align-items: center;
    z-index: 1;
}

.hero-calculator-scrolling-content {
    flex-shrink: 0;
    display: flex;
    gap: var(--gap);
    min-width: 100%;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

.hero-calculator-scrolling-content h2 {
    font-size: 11.979vw;
    font-weight: 800;
    line-height: 1em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #1A1A1A 60%, var(--dark-color) 124.91%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 60%;
}

.section-title h1 {
    font-size: 90px;
    font-weight: 300;
    line-height: 1.2em;
    color: var(--primary-color);
    margin-bottom: 0;
    cursor: none;
}

.section-title h1 span {
    font-weight: 800;
    color: var(--accent-color);
}


/************************************/


/***     14. How It Work css      ***/


/************************************/

.how-it-work {
    position: relative;
    padding: 80px 0;
}

.how-it-work::before {
    content: '';
    display: block;
    position: absolute;
    right: -80px;
    top: 80px;
    width: 250px;
    height: 250px;
    opacity: 50%;
    animation: circlerotate 12s infinite linear;
    animation-direction: alternate;
    z-index: -1;
}

.how-work-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.how-work-item {
    width: calc(25% - 22.5px);
    height: calc(100% - 30px);
}

.how-work-item .icon-box {
    position: relative;
    background-image: url('../../images/how-work-right-arrow.svg');
    background-repeat: no-repeat;
    background-position: left 120px center;
    background-size: auto;
    margin-bottom: 30px;
    margin-left: 5px;
}

.how-work-item:nth-child(4n+4) .icon-box,
.how-work-item:last-child .icon-box {
    background-image: none;
}

.how-work-item .icon-box figure {
    position: relative;
    width: 100px;
    height: 100px;
    background-color:transparent;
    backdrop-filter: blur(26px);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease-in-out;
    z-index: 1;
}

.how-work-item:hover .icon-box figure {
    position: relative;
    border-color: var(--white-color);
}

.how-work-item .icon-box img {
    width: 100%;
    max-width: 40px;
    transition: all 0.4s ease-in-out;
}

.how-work-item:hover .icon-box img {
    filter: brightness(0) invert(1);
    transform: rotateY(180deg);
}

.how-work-step {
    position: absolute;
    top: 5px;
    left: -5px;
    height: 30px;
    width: 30px;
    background: var(--dark-color);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease-in-out;
    z-index: 2;
}

.how-work-item:hover .how-work-step {
    border-color: var(--white-color);
}

.how-work-step h3 {
    font-size: 14px;
}

.how-work-content h3 {
    font-size: 22px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.how-work-content p {
    margin: 0;
}

@media only screen and (max-width: 991px) {
    .hero {
        padding: 150px 0 0;
    }
    .hero.bg-image {
        padding: 180px 0 90px;
    }
    .hero.hero-slider-layout .hero-slide {
        padding: 180px 0 90px;
    }
    .hero-content {
        margin-bottom: 50px;
    }
    .hero.bg-image .hero-content .section-title p {
        margin-top: 15px;
    }
    .hero-counter-item {
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    .hero-images {
        margin: 0;
        margin-top: 30px;
    }
    .hero-images figure,
    .hero-images img {
        border-radius: 20px 20px 0 0;
    }
    .hero-counter-item h2 {
        font-size: 48px;
    }
    .how-it-work {
        padding: 40px 0;
    }
    .how-work-item {
        width: calc(50% - 15px);
    }
    .how-work-item .icon-box {
        background-image: none;
        margin-bottom: 20px;
    }
    .how-work-item .icon-box {
        margin-bottom: 20px;
    }
    .how-work-item .icon-box figure {
        width: 90px;
        height: 90px;
    }
    .how-work-item .icon-box img {
        max-width: 35px;
    }
    .how-work-step h3 {
        font-size: 12px;
    }
    .how-work-content h3 {
        font-size: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .hero-calculator {
        position: relative;
        padding: 100px 0 0;
    }
    .hero-content {
        margin-bottom: 40px;
    }
    .hero.bg-image .hero-content .section-title p {
        font-size: 14px;
    }
    .hero-counter-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .hero-counter-item h2 {
        font-size: 36px;
        margin-bottom: 5px;
    }
    .hero-counter-item p {
        font-size: 14px;
    }
    .how-work-item {
        width: 100%;
    }
    .how-work-item .icon-box figure {
        width: 80px;
        height: 80px;
    }
    .how-work-step {
        top: 0;
    }
    .how-work-item .icon-box img {
        max-width: 30px;
    }
    .how-work-content h3 {
        font-size: 18px;
    }
}