* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    scroll-behavior: smooth !important;
}

body {
    font-family: $body-font;
    font-size: $body-font-size;
    font-weight: $body-font-weight;
    color: $body-color;
    line-height: $body-line-Height;
    background: $light-color;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;

    /*===Scroll Bar=====*/
    &::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    &::-webkit-scrollbar-thumb {
        background-color: $dark-color;
        background-image: -webkit-linear-gradient(45deg,
                $theme-color 25%,
                transparent 20%,
                transparent 50%,
                $theme-color 50%,
                $theme-color 75%,
                transparent 75%,
                transparent);
        border-radius: 3px;
    }
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis {
    &.lenis-smooth {
        scroll-behavior: auto !important;

        [data-lenis-prevent] {
            overscroll-behavior: contain;
        }
    }

    &.lenis-stopped {
        overflow: hidden;
    }
}

section {
    position: relative;
    z-index: 1;


    >.outer-box {
        margin: 0 60px;
        position: relative;
        z-index: 1;
        overflow: hidden;

        @include ml {
            margin: 0 12px;
        }

        @include tablet-s {
            margin: 0;
        }
    }
}

iframe {
    border: none;
    width: 100%;
}

figure {
    margin: 0;
}


.slick-slide:focus,
button:focus,
a:focus,
a:active,
input,
input:hover,
input:focus,
input:active,
textarea,
textarea:hover,
textarea:focus,
textarea:active {
    outline: none;
}

input:focus {
    outline: none;
    box-shadow: none;
}

img:not([draggable]),
embed,
object,
video {
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

ul {
    // list-style-type: none;
    margin-bottom: 0;
    padding: 0;
    // list-style: none;

    li {
        // list-style: none;
    }
}

ol {
    // list-style-type: none;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid $border-color;
}

th {
    font-weight: 700;
    color: $title-color;
}

td,
th {
    border: 1px solid $border-color;
    padding: 9px 12px;
}

a {
    color: $title-color;
    text-decoration: none;
    outline: 0;

    &:hover {
        color: $theme-color;
    }

    &:active,
    &:focus,
    &:hover,
    &:visited {
        text-decoration: none;
        outline: 0;
    }
}

a,
button {
    outline: none;
    border: none;
    background: transparent;
    transition: all ease 0.4s;
}

img {
    border: none;
    max-width: 100%;
}

ins {
    text-decoration: none;
}

pre {
    font-family: $body-font;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    margin: 20px 0;
    overflow: auto;
    padding: 20px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

span.ajax-loader:empty,
p:empty {
    display: none;
}

p {
    font-family: $body-font;
    margin: 0 0 15px 0;
    color: $gray-color2;
    line-height: $p-line-Height;

    a {
        color: inherit;
        font-size: inherit;
        font-family: inherit;
        font-weight: inherit;
        line-height: inherit;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: $title-font;
    color: $title-color;
    text-transform: none;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 15px;

    a {
        color: inherit;
        font-size: inherit;
        font-family: inherit;
        font-weight: inherit;
        line-height: inherit;
    }
}

@mixin heading-sizes($sizes) {

    @each $size,
    $value in $sizes {

        h#{$size},
        .h#{$size} {
            font-size: map-get($value, size);
            line-height: map-get($value, line-height);
        }
    }
}

$heading-sizes: (1: (size: 62px, line-height: 72px),
    2: (size: 42px, line-height: 1.2),
    3: (size: 36px, line-height: 1.217),
    4: (size: 24px, line-height: 1.417),
    5: (size: 22px, line-height: 1.27),
    6: (size: 18px, line-height: 1.5));

@include heading-sizes($heading-sizes);

@include ml {

    h1,
    .h1 {
        font-size: 48px;
    }
}

@include lg {

    h1,
    .h1 {
        font-size: 44px;
        line-height: 1.3;
    }

    h2,
    .h2 {
        font-size: 40px;
        line-height: 1.25;
    }

    h3,
    .h3 {
        font-size: 30px;
    }

    h4,
    .h4 {
        font-size: 24px;
    }

    h5,
    .h5 {
        font-size: 20px;
    }

    h6,
    .h6 {
        font-size: 16px;
    }
}

@include sm {

    h1,
    .h1 {
        font-size: 40px;
    }

    h2,
    .h2 {
        font-size: 34px;
        line-height: 1.3;
    }

    h3,
    .h3 {
        font-size: 26px;
    }

    h4,
    .h4 {
        font-size: 22px;
    }

    h5,
    .h5 {
        font-size: 18px;
    }

    h6,
    .h6 {
        font-size: 16px;
    }
}

@include xs {

    h1,
    .h1 {
        font-size: 34px;
        line-height: 1.35;
    }

    h2,
    .h2 {
        font-size: 30px;
    }
}

@include vxs {

    h1,
    .h1 {
        font-size: 32px;
    }
}

body {
    &.dark-mode {
        background: $dark-color6;
    }
}


/*rtl:begin:ignore*/

/*rtl:end:ignore*/