.preloader {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999;
    background-color: var(--white-color);
}
.preloader .vs-btn {
    padding: 15px 20px;
    border-radius: 0;
    font-size: 14px;
}

.preloader-inner {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.preloader-inner img {
    display: block;
    margin: 0 auto 10px auto;
}

.loader {
    animation: loaderspin 1.5s infinite;
    height: 50px;
    width: 50px;
    display: block;
    margin: 0 auto;
}
.loader:before, .loader:after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    width: 20px;
}
.loader:before {
    animation: ball1 1.5s infinite;
    background-color: var(--sec-color);
    box-shadow: 30px 0 0 var(--theme-color);
    margin-bottom: 10px;
}
.loader:after {
    animation: ball2 1.5s infinite;
    background-color: var(--theme-color);
    box-shadow: 30px 0 0 var(--title-color);
}

@keyframes loaderspin {
    0% {
        transform: rotate(0deg) scale(0.8);
    }
    50% {
        transform: rotate(360deg) scale(1);
    }
    100% {
        transform: rotate(720deg) scale(0.8);
    }
}
@keyframes ball1 {
    0% {
        box-shadow: 30px 0 0 var(--theme-color);
    }
    50% {
        box-shadow: 0 0 0 var(--theme-color);
        margin-bottom: 0;
        transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 var(--theme-color);
        margin-bottom: 10px;
    }
}
@keyframes ball2 {
    0% {
        box-shadow: 30px 0 0 var(--title-color);
    }
    50% {
        box-shadow: 0 0 0 var(--title-color);
        margin-top: -20px;
        transform: translate(15px, 15px);
    }
    100% {
        box-shadow: 30px 0 0 var(--title-color);
        margin-top: 0;
    }
}
@keyframes spin {
    0% {
        transform: translate(2px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -3px) rotate(36deg);
    }
    20% {
        transform: translate(-2px, 0px) rotate(72deg);
    }
    30% {
        transform: translate(1px, 2px) rotate(108deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(144deg);
    }
    50% {
        transform: translate(-1px, 3px) rotate(180deg);
    }
    60% {
        transform: translate(-1px, 1px) rotate(216deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(252deg);
    }
    80% {
        transform: translate(-2px, -1px) rotate(288deg);
    }
    90% {
        transform: translate(2px, 1px) rotate(324deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(360deg);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.fadeIn {
    animation: fadeIn 0.4s both;
}

/*------------------- 3.2. Buttons -------------------*/
.vs-btn {
    position: relative;
    display: inline-block;
    border: none;
    text-transform: capitalize;
    text-align: center;
    background-color: var(--theme-color);
    color: var(--white-color);
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    padding: 10px 30px;
    border-radius: 40px;
    z-index: 1;
    overflow: hidden;
}
.vs-btn::after, .vs-btn::before {
    width: 100%;
    height: 100%;
    content: "";
    margin: auto;
    position: absolute;
    top: 0%;
    left: 0%;
    background: var(--theme-color2);
    transition: all ease 0.5s;
    z-index: -1;
    border-radius: inherit;
}
.vs-btn:before {
    transform: rotateX(90deg);
}
.vs-btn:after {
    transform: rotateY(90deg);
}
.vs-btn > i {
    margin-left: 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white-color);
    color: var(--title-color);
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}
.vs-btn.style1, .vs-btn.style3 {
    padding: 9px 9px 9px 40px;
}
.vs-btn.style2 {
    padding: 21px 54px;
}
.vs-btn.style3 {
    padding: 7px 7px 7px 37px;
}
.vs-btn.style3 > i {
    background-color: var(--theme-color2);
    color: var(--title-color);
    margin-left: 26px;
}
.vs-btn.style4 {
    background-color: transparent;
    padding: 0;
}
.vs-btn.style4 > i {
    margin: 0;
    width: 52px;
    height: 52px;
    background-color: var(--smoke-color);
    color: var(--title-color);
}
.vs-btn.style4 i.fa-arrow-left {
    margin-right: 0;
}
.vs-btn:hover {
    color: var(--title-color);
    background-color: var(--theme-color2);
}
.vs-btn:hover i {
    background-color: var(--theme-color);
    color: var(--white-color);
}
.vs-btn:hover:before {
    transform: rotateX(0);
}
.vs-btn:hover:after {
    transform: rotateY(0);
}

.icon-btn {
    display: inline-block;
    width: var(--btn-size, 67px);
    height: var(--btn-size, 67px);
    line-height: var(--btn-size, 67px);
    font-size: var(--btn-font-size, 20px);
    background-color: var(--theme-color);
    color: var(--white-color);
    border: none;
    text-align: center;
    border-radius: 50%;
    padding: 0;
}
.icon-btn.style2 {
    border: 2px solid var(--white-color);
    color: var(--white-color);
    background-color: transparent;
}
.icon-btn.style2:hover {
    background-color: var(--theme-color);
    color: var(--white-color);
}
 .icon-btn.style3 {
    --btn-size: 55px;
    background-color: #f2f6ff;
    color: var(--theme-color);
    border-radius: 5px;
}
.icon-btn:hover {
    background-color: var(--title-color);
    color: var(--white-color);
    border-color: transparent;
}

.scroll-btn {
    position: fixed;
    bottom: 300px;
    right: 30px;
    z-index: 94;
    opacity: 0;
    visibility: hidden;
    display: inline-block;
    border-radius: 50%;
    /* Small devices */
}
.scroll-btn i {
    display: inline-block;
    background-color: var(--theme-color);
    color: var(--white-color);
    text-align: center;
    font-size: 16px;
    width: var(--btn-size, 50px);
    height: var(--btn-size, 50px);
    line-height: var(--btn-size, 50px);
    z-index: 2;
    border-radius: inherit;
    position: relative;
    transition: all ease 0.8s;
}
.scroll-btn:before {
    content: "";
    position: absolute;
    left: var(--extra-shape, -6px);
    top: var(--extra-shape, -6px);
    right: var(--extra-shape, -6px);
    bottom: var(--extra-shape, -6px);
    background-color: transparent;
    border-radius: inherit;
    z-index: 1;
    border: 2px dashed var(--theme-color);
    animation: spin 13s infinite linear;
}
.scroll-btn:focus i, .scroll-btn:hover i {
    background-color: var(--title-color);
    color: var(--white-color);
}
.scroll-btn.show {
    bottom: 120px;
    opacity: 1;
    visibility: visible;
}
@media (max-width: 767px) {
    .scroll-btn {
        --btn-size: 40px;
        --extra-shape: -4px;
        right: 15px;
        bottom: 50px;
    }
    .scroll-btn.show {
        bottom: 15px;
    }
}

.scrollToTop {
    position: fixed;
    right: 60px;
    bottom: 500px;
    opacity: 0;
    visibility: hidden;
    transition: all ease 0.4s;
    z-index: 96;
}
.scrollToTop.show {
    bottom: 60px;
    opacity: 1;
    visibility: visible;
}

/* Large devices */
/* Small devices */
@media (max-width: 767px) {
    .scrollToTop {
        right: 20px;
    }
    .scrollToTop.show {
        bottom: 20px;
    }
}
/*------------------- 3.3. Titles -------------------*/
.sec-icon {
    display: inline-block;
    position: relative;
    z-index: 1;
    margin: -0.07em 0 20px 0;
}
.sec-icon::before {
    position: absolute;
    content: "";
    height: 1px;
    background-color: var(--theme-color);
    width: 182px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.sec-title {
    text-transform: capitalize;
    line-height: 1.35;
    margin: -0.25em 0 18px 0;
}

.sec-subtitle {
    text-transform: uppercase;
    display: block;
    color: var(--theme-color);
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 900;
    margin: -0.25em 0 15px 0;
    letter-spacing: 0.12em;
}
.sec-subtitle.style2 {
    color: var(--title-color);
}

.title-area {
    margin-bottom: calc(var(--section-title-space) - 20px);
}

/* Medium Large devices */
/* Large devices */
/* Medium devices */
@media (max-width: 991px) {
    
    .sec-title.h1 {
        font-size: 36px;
    }
    .title-area {
        margin-bottom: 40px;
    }
}
/* Small devices */
@media (max-width: 767px) {
    
    .sec-title.h1 {
        font-size: 30px;
    }
    .sec-subtitle {
        font-size: 16px;
    }
}
/*------------------- 3.4. Common -------------------*/

.z-index-common {
    position: relative;
    z-index: 3;
}

.media-body {
    flex: 1;
}

/* Hight Resoulation devices */
/* Extra large devices */
/* Medium Large devices */
/* Large devices */
/* Medium devices */
/* Small devices */

.social-links {
    display: flex;
    align-items: center;
    gap: 22px;
}
.social-links .links-title {
    font-size: 16px;
    font-weight: 700;
}
.social-links ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 9px;
}
.social-links ul li a {
    display: inline-flex;
    color: var(--title-color);
    --icon-size: 36px;
    width: var(--icon-size);
    height: var(--icon-size);
    align-items: center;
    justify-content: center;
    background-color: var(--white-color);
    border-radius: 50%;
    box-shadow: 0px 21px 10px 0px rgba(4, 4, 4, 0.05);
    border: 1px solid var(--vs-border-color);
}
.social-links ul li a:hover {
    background-color: var(--theme-color);
    color: var(--white-color);
    border-color: var(--theme-color);
}

/*------------------- 3.6. Font -------------------*/

/*------------------- 3.7. Background -------------------*/

.background-image,
[data-bg-src] {
    background-repeat: repeat;
    background-position: center center;
}

/*------------------- 3.8. Text Color -------------------*/

/*------------------- 3.9. Overlay -------------------*/
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

/*------------------- 3.10. Animation -------------------*/
.fadeInUp {
    animation-name: fadeInUp;
}

.wow-animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animated {
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-duration: 1s;
    animation-delay: 0.3s;
    animation-name: var(--animation-name);
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/*------------------- 3.11. Range Slider -------------------*/
