@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --color-main:#ec1f25;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

section {
    margin-bottom: 100px;
}

.mb-10 {
    margin-bottom: 100px;
}

@media (max-width:991px) {
    section {
        margin-bottom: 50px;
    }

    .mb-10 {
        margin-bottom: 50px;
    }
}

@media (max-width:576px) {
    .container {
        padding: 0 15px;
    }
}

.text-main {
    color: var(--color-main);
}

.form-control:focus {
    box-shadow: none;
    border-color: #000000;
}

/* title */
.sec-head {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-main);
    text-align: center;
    margin-bottom: 40px;
    line-height: 50px;
}

.sec-head span {
    padding-bottom: 1px;
    color: #0f0f0f;
    border-bottom: 4px solid var(--color-main);
}

@media (max-width:600px) {
    .sec-head {
        font-size: 30px;
        margin-bottom: 30px;
    }
}

.sec-sub_head{
    font-size: 25px;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
}


/* common */
::selection {
    background-color: var(--color-main);
    color: #fff;
    text-shadow: none;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;

}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-main);
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    cursor: pointer;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b56;
}

::-webkit-scrollbar-thumb:active {
    background: #e53935;
}


/* btn */
.btn-main {
    display: inline-block;
    position: relative;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 22px;
    background: var(--color-main);
    color: #fff;
    border: none;
    border-radius: 0;
    outline: none;
    z-index: 0;
    overflow: hidden;

    &::after {
        content: '';
        position: absolute;
        top: 10px;
        left: 0;
        width: 300px;
        height: 200px;
        background-color: #333;
        border-color: transparent;
        border-radius: 50%;
        transform: translate(-40px, -80px) scale(0.1);
        opacity: 0;
        z-index: -1;
        transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
    }

    &:hover::after {
        opacity: .3;
        transform-origin: 100px 100px;
        transform: scale(1) translate(-10px, -70px);
    }
}


/* preloader */
.gf-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;

    .loader {
        width: 60px;
        aspect-ratio: 1;
        display: grid;
        grid: 50%/50%;
        color: var(--color-main);
        --_g: no-repeat linear-gradient(currentColor 0 0);
        background: var(--_g), var(--_g), var(--_g);
        background-size: 50.1% 50.1%;
        animation:
            l6-0 1.5s infinite steps(1) alternate,
            l6-0-0 3s infinite steps(1);
    }

    .loader::before {
        content: "";
        background: currentColor;
        transform: perspective(150px) rotateY(0deg) rotateX(0deg);
        transform-origin: bottom right;
        animation: l6-1 1.5s infinite linear alternate;
    }
}


@keyframes l6-0 {
    0% {
        background-position: 0 100%, 100% 100%, 100% 0
    }

    33% {
        background-position: 100% 100%, 100% 100%, 100% 0
    }

    66% {
        background-position: 100% 0, 100% 0, 100% 0
    }
}

@keyframes l6-0-0 {
    0% {
        transform: scaleX(1) rotate(0deg)
    }

    50% {
        transform: scaleX(-1) rotate(-90deg)
    }
}

@keyframes l6-1 {
    16.5% {
        transform: perspective(150px) rotateX(-90deg) rotateY(0deg) rotateX(0deg);
        filter: grayscale(0.8)
    }

    33% {
        transform: perspective(150px) rotateX(-180deg) rotateY(0deg) rotateX(0deg)
    }

    66% {
        transform: perspective(150px) rotateX(-180deg) rotateY(-180deg) rotateX(0deg)
    }

    100% {
        transform: perspective(150px) rotateX(-180deg) rotateY(-180deg) rotateX(-180deg);
        filter: grayscale(0.8)
    }
}