@import url('variables.css');
/*------------------------------------------------------------------
[Table of contents]

01. Font Settings
02. General settings
02. Preloader
03. Helpfull classes
04. Section style
05. Homepage Swiper slider
06. Footer style
07. Navigation overlay 
08. Portfolio style 
09. Blog style
10. Post style
11. Contact style
12. Form style
13. Cursor style
14. Media Query 
-------------------------------------------------------------------*/
.categoryCircleSwiper .swiper-slide {
    width: auto;
}

.category-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: 0.3s ease;
}

.category-circle img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.category-circle:hover {
    border-color: var(--bs-primary);
    transform: translateY(-5px);
}

/* Arrow Position */
.category-prev,
.category-next {
    color: var(--text-primary);
    top: 45%;
}

.category-prev {
    left: -10px;
}

.category-next {
    right: -10px;
}




/*** 05. Homepage Swiper slider ***/

.swiper-container {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    cursor: -webkit-grab;
    cursor: grab;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background-image: none;
    background-color: var(--tp-color-swiper-thumb);
    z-index: 2;
    cursor: pointer;
}

.swiper-button-prev::after, .swiper-rtl .swiper-button-next::after{
    content: '';
}

.swiper-button-next::after, .swiper-rtl .swiper-button-prev::after{
    content: '';
}

.swiper-button-next i,
.swiper-button-prev i {

    color: var(--color-black);
 
}

.alf-link {
    display: inline-block;
    width: auto;
    position: relative;
    text-decoration: none;
    font-family: 'Abril Fatface', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5em;
    letter-spacing: 1px;
    color: var(--color-black) !important;
    transition: all .3s ease-in-out;
    padding-left: 76px;
}

.alf-link:before {
    content: '';
    display: inline-block;
    width: 70px;
    height: 1px;
    background: var(--color-black);
    position: absolute;
    left: 0;
    bottom: 15px;
}

@-webkit-keyframes arrowRight {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    50% {
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}


@keyframes arrowRight {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    50% {
        -webkit-transform: translateX(-10px);
        transform: translateX(-10px);
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.swiper-button-next:hover i,
.swiper-button-prev:hover i {
    -webkit-animation: arrowRight 1s infinite;
    animation: arrowRight 1s infinite;
}

.swiper-button-next {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0;
}

.swiper-button-prev {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
}



.swiper-slide-block {
    width: 100%;
    margin: 0 auto;
    height: 100%;
    text-align: left;
}

.swiper-slide-block .swiper-slide-block-img {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.swiper-slide-block .swiper-slide-block-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.swiper-slide-block .swiper-slide-block-img img {
    width: 100%;
    height: auto;
    transition: all .3s ease-in-out;
}

.swiper-slide-block .swiper-slide-block-img:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.swiper-slide-block .swiper-slide-block-text {
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
}


 .swiper-slide-block-img, .product-img {
    position: relative;
    z-index: 100;
  }

.swiper-slide-block .alf-main-title {
    color: var(--color-black);
    font-weight: 400;
    font-size: 40px;
    line-height: 1.1em;
    margin: 0;
}

.swiper-slide-block .alf-main-subtitle {
    margin: 20px 0;
    font-size: 16px;
}

.swiper-slide-block .alf-main-subtitle span {
    font-size: 12px;
    line-height: 1.5em;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.swiper-slide-block .alf-main-subtitle,
.swiper-slide-block .alf-main-title,
.swiper-slide-block .alf-paragraph {
    z-index: 2;
    position: relative;
}

.swiper-slide-block .alf-paragraph {
    max-width: 413px;
    color: var(--text-muted);
    margin: 30px 0;
    font-size: 14px;
    line-height: 1.5em;
}

.swiper-slide-block .alf-number {
    font-family: 'Abril Fatface', cursive;
    font-size: 200px;
    font-weight: 400;
    width: 80%;
    display: block;
        color: var(--tp-color-swiper-thumb);
    position: relative;
    bottom: 100px;
    z-index: -1;
    text-align: right;
    margin: 0;
    line-height: 150px;
}

.alf-section-slider {
    width: 100%;
    height: auto;
    background-color: var(--bg-surface);
}

.alf-section-slider .alf-container-center {
    width: 100%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}


/*** 06. Footer style ***/

/* *** Media Query *** */
@media (min-width:1200px) {
    .alf-section-slider {
        padding: 15px;
    }
    .swiper-container {
        height: 550px;
    }
    .swiper-button-next {
        right: 315px !important;

        background-color: var(--bg-surface);
    }
    .swiper-button-prev {
        bottom: 60px !important;
        top:auto !important;
        background-color: var(--bg-surface);
    }
    .swiper-slide-block .swiper-slide-block-img {
        width: 65%;
        max-height: 490px;
        height: 490px;
        max-width: 735px;
        overflow: hidden;
        position: relative;
    }
    .swiper-slide-block .swiper-slide-block-img img {
        position: absolute;
        top: 0;
        left: 0;
        width: auto;
        height: 100%;
        border-radius: 10px;
    }
    .swiper-slide-block .swiper-slide-block-text {
        width: 40%;
        height: 100%;
        max-height: 490px;
        max-width: 500px;
        position: absolute;
        background-color: transparent;
        top: 0;
        right: 0;
        margin-top: 0;
        padding: 0;
        z-index: 2;
    }
    .swiper-slide-block .swiper-slide-block-text:before {
        content: "";
        display: block;
        width: 315px;
        max-width: 408px;
        height: 100%;
        background-color: var(--gray-50);
        position: absolute;
        left: -130px;
        z-index: -1;
        top: 0;
    }
    .swiper-slide-block .alf-main-title {
        margin-top: 100px;
    }
    .swiper-slide-block .alf-number {
        margin-top: 100px;
        font-size: 200px;
    }
}

@media (min-width: 1940px) {
    .image-box-img {
        width: 100%;
    }
}

@media screen and (max-width: 700px) {
    @keyframes LHC {
        from {
            max-height: 0px;
            opacity: 0;
        }
        to {
            opacity: 1;
            max-height: 100%;
            margin-top: -30px;
        }
    }
}

@media (min-width: 456px) and (max-width: 767px) {
    .image-box-img {
        width: 100%;
    }

    .swiper-slide-block .swiper-slide-block-text{
        margin-top: 20px !important;
    }
}

@media (min-width: 1000px) and (max-width: 1399px) {
    .alf-form-block-child li > .alf-form-wrapper {
        width: 80%;
    }
}

@media (min-width: 1200px) and (max-width: 1300px) {
    .alf-form-wrapper {
        width: 80%;
    }
}

@media (min-width: 1301px) and (max-width: 1800px) {
    .img-overlay {
        padding-top: 10%;
    }
}