body {
    height: 100%;
    font-family: $main-font;
}
img {
    max-width: 100%;
}
a {
    display: inline-block;
    text-decoration: none;
    transition: .3s;
}
span {
    display: inline-block;
}
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

button {
    border: 0;
    transition: .3s;
}
input, textarea {
    outline: none;
    transition: .3s;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: $white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    img {
        width: 80px;
    }
}

.content-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 700px;
}
.os-host {
    .os-scrollbar {
        opacity: 0;
        .os-scrollbar-track {
            .os-scrollbar-handle {
                background: $gradient-1;
            }
        }
    }
    &:hover, &:focus-within {
        .os-scrollbar {
            opacity: .5;
        }
    }
}
.os-theme-dark>.os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle {
    background: $gradient-1;
}
.os-theme-dark>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle.active{
    background: $gradient-1;
}

.section-title {
    font-family: $heading-font;
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -1px;
    text-transform: capitalize;
    color: $black-2;
    padding-bottom: 16px;
    margin-bottom: 70px;
    position: relative;
    &.title-center {
        text-align: center;
        &::before {
            left: 50%;
            transform: translateX(-50%);
        }
    }
    &::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100px;
        height: 13px;
        background: $gradient-1;
        background: url(../images/vector-1.png) center center no-repeat;
        background-size: 100px;
        border-radius: 3px;
    }
    span {
        width: max-content;
        color: transparent;
        background: $gradient-1;
        background-clip: text;
    }
}

.section-panel {
    position: fixed;
    top: 30px;
    left: 30px;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    background: $white;
    box-shadow: 0px 0px 35px -5px rgba($black, .2);
    border-radius: 10px;
    transform: rotateX(-90deg) translateY(-10%) scale(.01);
    transition: all .4s ease-in;
    overflow: hidden !important;
    z-index: 11;
    &:before {
        content: "";
        position: absolute;
        bottom: -300px;
        left: -200px;
        width: 700px;
        height: 700px;
        background: $blur-gradient-1;
        border-radius: 50%;
        z-index: -1;
    }
    &:after {
        content: "";
        position: absolute;
        top: -300px;
        right: -200px;
        width: 700px;
        height: 700px;
        background: $blur-gradient-2;
        border-radius: 50%;
        z-index: -1;
    }
    &.active {
        transform: scale(1);
    }
}

.panel-close-btn {
    position: fixed;
    top: 0;
    right: 25px;
    padding: 0;
    width: 35px;
    height: 40px;
    line-height: 20px;
    background: $gradient-1;
    color: $white;
    font-size: 20px;
    border: 0;
    border-radius: 0 0 15px 15px;
    box-shadow: 0px 5px 20px 0px rgba($black, .4);
    z-index: 111;
}

.def-btn {
    height: 50px;
    line-height: 50px;
    padding: 0 25px;
    background: $gradient-1;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 25px;
    color: $white;
    font-size: 18px;
    font-weight: 400;
    transition: .3s;
    position: relative;
    z-index: 2;
    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: $gradient-2;
        border-radius: 25px;
        opacity: 1;
        transition: .3s;
        z-index: -1;
    }
    &.btn-sm {
        height: 40px;
        line-height: 40px;
        padding: 0 20px;
        font-size: 16px;
    }
    &.def-btn-2 {
        background: $white;
        color: $color-1;
        &::after {
            display: none;
        }
        &:hover, &:focus {
            color: $color-2;
        }
    }
    &:hover, &:focus {
        color: $white;
        transform: translateY(-2px);
        box-shadow: 0px 10px 20px 0px rgba($black, .15);
        &::after {
            opacity: 0;
        }
    }
}

.modal-content {
    border: 0;
    border-radius: 15px;
    .modal-header {
        background: url(../images/cta-bg.jpg) top right no-repeat;
        background: $white-2;
        background-size: 105%;
        border-top-left-radius: 14px;
        border-top-right-radius: 14px;
        padding: 10px 30px;
        border-bottom: 1px solid rgba($black, .05);
        h5 {
            font-size: 20px;
            line-height: 100%;
            font-weight: 500;
            color: $black-4;
        }
        button {
            width: 35px;
            height: 35px;
            line-height: 35px;
            font-size: 20px;
            background: $gradient-1;
            color: $white;
            border-radius: 50%;
        }
    }
    .modal-body {
        padding: 40px 30px;
    }
    .modal-footer {
        padding: 10px 30px;
    }
}

.btn-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nice-select:after {
    content: "\f107";
    right: 20px;
    font-family: 'Font Awesome 6 Pro';
    border-width: 0px;
    text-align: center;
    width: 15px;
    height: 15px;
    font-size: 18px;
    line-height: 15px;
    transform: translateY(-50%);
    margin: 0;
    transform-origin: 50% 30%;
}
.nice-select.open:after {
    transform: rotate(180deg);
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .section-panel {
        top: 20px;
        left: 20px;
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }
}

@media screen and (max-width: 991px) and (min-width: 320px) {
    .section-title {
        font-size: 25px;
        padding-bottom: 15px;
        margin-top: -1px;
        margin-bottom: 40px;
        &::before {
            width: 80px;
            background-size: 80px;
        }
    }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
    .section-panel {
        top: 20px;
        left: 20px;
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }

    .panel-close-btn {
        right: 15px;
        width: 25px;
        height: 30px;
        line-height: 15px;
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) and (min-width: 320px) {
    .section-panel {
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }

    .panel-close-btn {
        right: 15px;
        width: 25px;
        height: 30px;
        line-height: 15px;
        font-size: 14px;
    }

    .modal-content {
        .modal-header {
            padding: 10px 20px;
            h5 {
                font-size: 18px;
            }
            button {
                width: 30px;
                height: 30px;
                line-height: 30px;
            }
        }
        .modal-body {
            padding: 30px 20px;
        }
    }
}

@media screen and (max-width: 1199px) and (min-width: 320px) {
    .def-btn {
        height: 40px;
        line-height: 40px;
        padding: 0 20px;
        gap: 10px;
        font-size: 14px;
    }
}