/* --------------- variable --------------- */
:root{
    --primary : #14508A;
    --secondary: #1691D0;
    --filterPrimary :  invert(24%) sepia(83%) saturate(774%) hue-rotate(176deg) brightness(95%) contrast(97%);
    --filterSecondary : invert(0%) sepia(100%) saturate(19%) hue-rotate(19deg) brightness(101%) contrast(106%);
    --filterWhite : invert(99%) sepia(0%) saturate(4787%) hue-rotate(41deg) brightness(127%) contrast(96%);
}

*{
    margin: 0px;
    box-sizing: border-box;
    text-decoration:none;
    scroll-behavior: smooth;
    &::selection{
        background-color: var(--primary);
        color: #fff; 
    }
    &::-webkit-scrollbar {
        width: 7px;
    }
    &::-webkit-scrollbar-track {
        background-color: #eee;
    }
    &::-webkit-scrollbar-thumb {
        background: var(--primary); 
        border-radius: 8px;
    }
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-poppins), sans-serif;
    overflow-x: hidden;
    color: #37383F;
}

html[dir="rtl"] body {
    font-family: var(--font-cairo), sans-serif;
}


div::-webkit-scrollbar ,
ul::-webkit-scrollbar ,
nav::-webkit-scrollbar {
    height: 5px;
}

.prata-font {
  font-family: var(--font-prata), serif;
}
// ------------------ colors ------------------
.color-gray{
    color: #ccc;
}
.color-gray2{
    color: #888;
}
.color-dark{
    color: #1B2021;
}

.filter_white{
    filter: var(--filterWhite);
}

/* Color Primary  */
.color_primary{
    color: var(--primary) !important;
}
.bg_primary {
    background-color: var(--primary) !important;
}
.border_primary {
    border-color: var(--primary) !important;
}
.filter_primary{
    filter: var(--filterPrimary);
}

/* Color Secondary  */
.color_secondary{
    color: var(--secondary) !important;
}
.bg_secondary {
    background-color: var(--secondary) !important;
}
.border_secondary {
    border-color: var(--secondary) !important;
}
.filter_secondary {
    filter: var(--filterSecondary);
}



/* --------------- global --------------- */
p ,
.p {
    font-size: 15px;
    color: #3F4E56;
    line-height: 1.7rem;
    margin-bottom: 0;
}

a{
    color: #000;
    transition: all .3s ease-in-out;
    text-decoration:none !important;
    &:hover{
        color:var(--primary) !important;
    }
    &:focus{
       outline:0;
    }
}

body a:focus {
    outline: 0;
}


del ,
.del {
    text-decoration: line-through;
    color: #888;
    font-size: 80%;
}

ul{
    list-style-type:none;
    padding: 0;
}
body ul:not(.list-styled) {
    list-style-type: none;
    margin: 0;
}

.container,
.container-fluid ,
.zi-5 {
    position: relative;
    z-index: 5;
}

.btn-default:active,
.btn-default:active:focus,
.btn-default:active:hover,
.btn-default:focus,
.btn-default:hover,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
    -webkit-appearance: none;
}

.btn:active,
.btn:active:focus,
.btn:active:hover,
.btn:focus,
.btn:hover,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    transition: all 0.6s ease;
    outline: 0;
}

button{
    border: none;
    padding: 0;
    transition: all .3s linear;
    background-color: transparent;
    &:focus{
        border: none;
        box-shadow: transparent;
        outline:0;
    }
}

button:active,
button:active:focus,
button:active:hover,
button:focus,
button:hover,
button:not(:disabled):not(.disabled).active,
button:not(:disabled):not(.disabled):active {
    transition: all .3s ease;
    outline: 0;
    box-shadow: none;
}


.overflow_hidden {
    overflow: hidden !important;
}

@mixin overlay {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    background-color: rgba($color: #123864, $alpha: .3);
}
// @include overlay;

.w-fit{
    width: fit-content;
}

.position-unset {
    position: unset;
}

.underline{
    text-decoration: underline !important;
}

.trans_3 {
    transition: all .3s linear;
}

img {
    width: 100%;
    height: 100%;
}

.img-cover {
    object-fit: cover;
}
.img-contain {
    object-fit: contain;
}

.bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    inset: 0;
}



.df-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.dnf-center {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.section-padding {
    padding: 120px 0;
}

/* // lenis scroll smooth */
html {

    &.lenis,
    &.lenis body {
        height: auto;
    }
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}



/* --------------- blur-div --------------- */
.blur-div {
    backdrop-filter: blur(10px);
    bottom: 0;
    flex: none;
    height: 100px;
    left: 0;
    mask: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%) add;
    overflow: visible;
    position: fixed;
    right: 0;
    pointer-events: none;
    z-index: 999;
}


/* --------------- swiper slider --------------- */

.swiper-container {
    overflow: hidden;
}

.marq-slider {
    .swiper-wrapper {
        -webkit-transition-timing-function: linear !important;
        transition-timing-function: linear !important;
        position: relative;
    }
}

.swiper-notification {
    display: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


/* --------------- rotate-box --------------- */
.rotate-box {
    position: relative;
    width: 200px;
    height: 200px;
    display: block;
    border-radius: 50%;

    .icon {
        position: absolute;
        left: 50%;
        top: 50%;
        padding: 5px;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 100px;
        pointer-events: none;
    }

    .rotate-text {
        animation: rotateText 20s linear infinite;
        text-transform: uppercase;
        position: absolute;
        left: 0;
        top: 0;
        border-radius: 50%;
        font-size: 30px;
        font-weight: 300;
    }

    .rotate-circle svg {
        width: 200px;
        height: 200px;
        // fill: var(--blue);
        transform: scale(1.3);
        border-radius: 50%;
    }

    @keyframes rotateText {
        0% {
            transform: rotate(360deg);
        }

        100% {
            transform: rotate(0deg);
        }
    }
}

/* --------------- paginaion --------------- */
.pagination {
    position: relative;
    justify-content: center;
    margin-top: 100px;

    .page-item {
        .page-link {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin: 0 5px;
            background-color: transparent;
            color: #fff;
            border-color: #151515;

            &.active {
                background-color: #151515;
                color: #fff;
            }

            &:hover {
                background: var(--blue);
                color: #fff;
            }
        }
    }
}


/* --------------- clippy-img --------------- */
.clippy-img {
    clip-path: polygon(25% 0, 75% 0, 75% 100%, 25% 100%);
    opacity: 0;
    transform: rotate(-7deg) scale(1.3);
    transition: all 1s ease;
    transition-delay: 0.2s;

    &.animated {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}


// --------------- parallax effect ---------------
.parallaxed {
    transition: all 0.1s linear !important;
}


/* --------------- dropdown --------------- */
.dropdown {
    position: relative;

    .dropdown-toggle::after {
        position: relative;
        top: 3px;
        opacity: 0.8;
        content: "\f078";
        display: inline-block;
        font-family: "Font Awesome 5 Pro";
        border: 0;
        line-height: 1;
        font-size: 0.8em;
    }

    .dropdown-menu {
        position: absolute;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 20px !important;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08) !important;
        padding: 15px !important;
        min-width: 220px;
        overflow: hidden;
        left: 0;
        top: 100%;
        display: block;
        transform: translateY(15px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;

        .dropdown-item {
            border-radius: 12px !important;
            padding: 12px 20px !important;
            color: #111 !important;
            font-weight: 500;
            font-size: 14px;
            text-transform: capitalize;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            display: flex;
            align-items: center;
            background: transparent !important;
            position: relative;

            &::before {
                content: '';
                position: absolute;
                left: 12px;
                top: 50%;
                transform: translateY(-50%);
                width: 4px;
                height: 0;
                background-color: var(--blue, #ff5e14);
                border-radius: 4px;
                transition: height 0.3s ease;
            }

            &:hover {
                background: rgba(255, 107, 0, 0.08) !important;
                color: var(--blue, #ff5e14) !important;
                padding-inline-start: 30px !important;
                transform: translateX(5px);

                &::before {
                    height: 50%;
                }
            }
        }

        &.menu-clmn2 {
            min-width: 440px;
            display: flex;
            flex-wrap: wrap;

            li {
                width: 50%;
            }
        }
    }

    &:hover {
        .dropdown-menu {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }
    }

    @media screen and (max-width: 991px) {
        .dropdown-menu {
            border-radius: 15px !important;
            padding: 10px !important;
            background: rgba(20, 20, 20, 0.95) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;

            .dropdown-item {
                color: #eee !important;

                &:hover {
                    background: rgba(255, 107, 0, 0.15) !important;
                }
            }

            &.menu-clmn2 {
                min-width: 260px;
                display: flex;
                flex-wrap: wrap;
                gap: 0 30px;

                li {
                    width: 100%;
                }
            }
        }
    }
}


/* --------------- forms --------------- */
select,
input {
    &:focus {
        box-shadow: none !important;
    }
}


// ---------- animations ------------
/**
 * ----------------------------------------
 * animation rotate-center
 * ----------------------------------------
*/
.rotate-center {
    -webkit-animation: rotate-center 100s linear infinite both;
    animation: rotate-center 100s linear infinite both;

    &.reverse {
        -webkit-animation: rotate-center 100s linear infinite both reverse;
        animation: rotate-center 100s linear infinite both reverse;
    }
}
@keyframes rotate-center {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loaderRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loaderRotateReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes loaderPulse {
    50% {
        opacity: .5;
    }
}

@keyframes floating-y {
    0%{
        transform: translateY(2px);
    }
    100%{
        transform: translateY(-2px);
    }
}

@keyframes floatingX {
    0%{
        transform: translateX(2px);
    }
    100%{
        transform: translateX(-2px);
    }
}


.slide_ltr{
    transform: translateX(5%);
    transition: all 1.2s ease-in-out;
    transition-delay: .1s;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    &.animated{
        transform: translateX(0%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    &.no_scale{
        transform: scale(1);
    }
}


.slide_rtl{
    // transform: scale(1.05);
    transform: translateX(-5%);
    transition: all 1s ease-in-out;
    transition-delay: .1s;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    &.animated{
        transform: translateX(0%);
       clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    &.no_scale{
        transform: scale(1);
    }
}



@keyframes puff-in {
    0% {
      transform: scale(1.2);
      filter: blur(4px);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      filter: blur(0px);
      opacity: 1;
    }
}
.puff-in {
	animation: puff-in 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}


@keyframes text-focus-in {
    0% {
      filter: blur(12px);
      opacity: 0;
    }
    100% {
      filter: blur(0px);
      opacity: 1;
    }
}
.text-focus-in {
	animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}


// global responsive 
@media screen and (max-width: 991px) {

    br {
        display: none;
    }

    .fsz-300 {
        font-size: 100px !important;
    }

    .fsz-150 {
        font-size: 80px !important;
    }

    .fsz-120 {
        font-size: 70px !important;
    }

    .fsz-100 {
        font-size: 50px !important;
    }

    .fsz-90 {
        font-size: 45px !important;
    }

    .fsz-80 {
        font-size: 40px !important;
    }

    .fsz-50 {
        font-size: 30px !important;
    }

    .fsz-45 {
        font-size: 25px !important;
    }

    .fsz-40 {
        font-size: 25px !important;
    }

    .mb-90 {
        margin-bottom: 40px !important;
    }

    .fsz-30 {
        font-size: 18px !important;
    }

    .fsz-35 {
        font-size: 20px !important;
    }

    .fsz-28 {
        font-size: 20px !important;
    }
    
    .fsz-20 {
        font-size: 15px !important;
    }

    .mb-50 {
        margin-bottom: 30px !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }

    .fsz-70 {
        font-size: 40px !important;
    }

    .fsz-60 {
        font-size: 35px !important;
    }

    .pt-150 {
        padding-top: 50px !important;
    }

    .th-425 {
        height: 300px !important;
    }

    .mt-200 {
        margin-top: 50px !important;
    }

    .loader-wrap .loader-wrap-heading .load-text {
        font-size: 20px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .fsz-65 {
        font-size: 30px !important;
    }

    .fsz-75 {
        font-size: 40px !important;
    }

}
