/* Core CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css');
@import url('https://cdn.jsdelivr.net/npm/aos@2.3.4/dist/aos.css');
@import url('https://cdn.jsdelivr.net/npm/@splidejs/splide@4.1.4/dist/css/splide.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.4/toastr.min.css');

@import url('fonts/fonts.css');

/* Custom App CSS  */
body {
    --bs-danger-rgb: 255, 30, 8;
    --bs-light-rgb: 246, 246, 246;

    .accordion-button {
        --bs-accordion-active-color: rgb(var(--bs-danger-rgb));
        --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 8l8 8 8-8' stroke='%23000000' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
        --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 8l8 8 8-8' stroke='%23ff3008' stroke-width='3' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    }
}

@media (min-width: 1400px) {
    .container.custom-cont,
    .container-lg.custom-cont,
    .container-md.custom-cont,
    .container-sm.custom-cont,
    .container-xl.custom-cont,
    .container-xxl.custom-cont {
        max-width: 1200px !important;
    }

    .custom-cont-lg {
        max-width: 1434px !important;
    }
}

/* Scrollbar Custom Start */

* {
    scrollbar-width: thin;
    scrollbar-color: #ff3008 #000000;
    /*scrlbar color: #thumb and #track */
}

/* Scrollbar Custom End */

/* Navbar Start */

nav.navbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

nav.navbar.scrolled {
    background-color: #000;
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.navbar-nav .nav-link,
footer .footer-link {
    &::before {
        content: "";
        transition: all 0.3s ease;
        position: absolute;
        right: 100%;
        width: 1px;
        bottom: 14px;
        height: 0;
        background: rgb(var(--bs-danger-rgb));
    }
}
@media (min-width: 992px) {
    .navbar-nav .nav-link:hover,
    footer .footer-link:hover,
    .navbar-nav .nav-link.active {
        &::before {
            height: 14px;
            width: 3px;
        }
    }
}
@media (max-width: 991px) {
    .mobile-small {
        font-size: 0.8rem !important;
    }
    .end-nav {
        svg {
            width: 18px;
            height: 18px;
        }
    }
    .custom-search-mobile {
        background: rgb(var(--bs-danger-rgb));
        border-radius: 50%;
    }
    .nav-offcanva {
        max-width: 300px;
    }

    .border-end-lg.border-opacity-25 {
        --bs-border-opacity: 0 !important;
    }

    .navbar-nav {
        .nav-item {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
    }

    .rounded-circle-mobile {
        background: rgb(var(--bs-danger-rgb)) !important;

        svg {
            width: 22px;
            height: 22px;
        }
    }

    /* Hamburger Animation */
    .navbar-toggler {
        width: 30px;
        height: 25px;
    }

    .navbar-toggler span {
        width: 100%;
        height: 3px;
        transition: all 0.4s ease;
    }

    .navbar-toggler span:nth-child(1) {
        top: 0;
    }

    .navbar-toggler span:nth-child(2) {
        top: 10px;
    }

    .navbar-toggler span:nth-child(3) {
        top: 20px;
    }

    .navbar-toggler.collapsed span:nth-child(1) {
        transform: translateY(0) rotate(0);
    }

    .navbar-toggler.collapsed span:nth-child(2) {
        opacity: 1;
    }

    .navbar-toggler.collapsed span:nth-child(3) {
        transform: translateY(0) rotate(0);
    }

    .navbar-toggler:not(.collapsed) span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .navbar-toggler:not(.collapsed) span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler:not(.collapsed) span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* Hamburger Animation */
}
@media (max-width: 575px) {
    .back-to-top {
        bottom: 37px !important;
        right: 10px !important;
        width: 35px !important;
        height: 35px !important;
    }
    .mobile-heading {
        font-size: 2rem !important;
    }
    .navbar-brand img {
        width: 76px;
        height: 76px;
    }
}

.navbar-menu {
    li {
        & > a {
            transition: 500ms ease;
            &:hover {
                color: #fff !important;
                background-color: rgb(var(--bs-danger-rgb));
            }
        }
    }

    & > ul {
        opacity: 0;
        transition: 300ms ease;
        visibility: hidden;
    }

    &:hover > ul {
        opacity: 1;
        visibility: visible;
    }
}

/* Navbar End */

/* Def Classes */

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

.top-unset {
    top: unset !important;
}

.btn-border-red:hover {
    background: rgb(var(--bs-danger-rgb));
}

.btn-border-black {
    background: #000;

    svg {
        transition: all 0.3s ease-in-out;
    }

    &:hover {
        background: #fff;

        svg {
            fill: rgb(var(--bs-danger-rgb));
        }
    }
}

.text-hover-main {
    transition: color 0.4s cubic-bezier(0.39, 0.575, 0.565, 1);
    color: white;

    &:hover {
        color: rgb(var(--bs-danger-rgb)) !important;
    }
}

.bg-danger-hover,
.svg-danger-hover svg,
.svg-danger-hover-invert svg {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bg-danger-hover:hover {
    background: #fff !important;
}

.scale-svg:hover {
    svg {
        scale: 1.2;
    }
}

.svg-danger-hover:hover {
    svg {
        fill: rgb(var(--bs-danger-rgb)) !important;
    }
}

.svg-danger-hover-invert:hover {
    svg {
        fill: #fff !important;
    }
}

.text-left-bar::before {
    content: "";
    transition: all 0.3s ease;
    position: absolute;
    left: 0%;
    top: 3px;
    background: rgb(var(--bs-danger-rgb));
    height: 70%;
    width: 3px;
}

.fs-large {
    font-size: 18px;
}

/* Def Classes */

/* button  */

/* Elegant Slide Button */
.slide-button {
    position: relative;
    padding: 1.2rem 2.4rem;
    font-size: 1.1rem;
    color: white;
    background: none;
    border: 2px solid rgb(var(--bs-danger-rgb));
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    z-index: 1;

    .text {
        /* color: rgb(var(--custom-button-color, var(--bs-danger-rgb))); */
        transition: color 1.25s ease-out;
    }
}

.slide-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5px;
    width: 100%;
    height: 100%;
    background: rgb(var(--bs-danger-rgb));
    transition: all 0.8s ease-in-out;
    transform: translateX(-100%);
}

.slide-button:hover {
    .text {
        transition: color 0.6s ease-out;
        color: #fff !important;
    }

    &::before {
        left: 0;
        transform: translateX(0%);
    }
}

/* button  */

/* Card set */
.card-set {
    transition: all 0.3s ease-in-out;

    h5,
    svg {
        transition: all 0.3s ease-in-out;
    }

    &:hover {
        box-shadow: 0px 0px 60px 0px rgb(0, 0, 0, 0.1);

        h5 {
            color: rgb(var(--bs-danger-rgb)) !important;
        }

        svg {
            fill: rgb(var(--bs-danger-rgb));
        }
    }
}

/* Card set */

/* video home */
.video-bg::before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    content: "";
    background-color: rgba(13, 13, 13, 0.7);
    z-index: 2;
}

.btn-play {
    width: 100px;
    height: 100px;
    box-shadow: -1px -1px 0px 15px #ffffff08;
}

/* video home */
.circle {
    width: 150px;
    height: 150px;
    background-color: rgb(255, 21, 0);
    position: absolute;
    border-radius: 50%;
    animation: ripple-animation 3.5s infinite ease-out;
    z-index: -1;
}

.circle1 {
    animation-delay: 0s;
}

.circle2 {
    animation-delay: 700ms;
}

.circle3 {
    animation-delay: 1.2s;
}

@keyframes ripple-animation {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

#ripple {
    & > .first {
        top: 0;
        left: 0;
        width: 130px;
        height: 130px;
        content: "";
        animation: 2s linear infinite ripple-1;
    }

    & > .second {
        top: 0;
        left: 0;
        width: 130px;
        height: 130px;
        content: "";
        animation: 2.5s linear infinite ripple-1;
    }

    & > .third {
        top: 0;
        left: 0;
        width: 130px;
        height: 130px;
        content: "";
        animation: 4s linear infinite ripple-1;
    }
}

@keyframes ripple-1 {
    70%,
    100% {
        box-shadow: 0 0 0 30px rgb(var(--bs-danger-rgb));
        opacity: 0;
    }
}

/* footer */
footer {
    input[type="email"] {
        height: 70px;

        &::placeholder {
            color: #ccc;
        }
    }

    .form-check-label {
        transition: color 0.3s ease-in-out;
    }

    .form-check-input:checked ~ .form-check-label {
        color: white !important;
    }

    .social-link {
        .position-absolute {
            transition: all 0.4s cubic-bezier(0.59, 0.04, 0.53, 1.76);
            transform: scale(0);
            transform-origin: center;
        }

        svg {
            transition: all 0.3s ease-in-out;
        }

        &:hover {
            svg {
                fill: rgb(var(--bs-danger-rgb));
            }

            .position-absolute {
                transform: scale(1);
            }
        }
    }
}

.cursor-pointer {
    cursor: pointer;
}

footer .footer-link {
    transition: color 0.3s ease-in-out;

    &:hover {
        color: #fff !important;
    }

    &::before {
        bottom: 2px !important;
        right: 105% !important;
        transform-origin: center;
    }
}

.back-to-top {
    bottom: 35px;
    right: 45px;
    width: 45px;
    height: 45px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    z-index: 9999;
    background-color: rgb(var(--bs-danger-rgb));
    /* subtle shadow */
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.274);
    &:hover {
        background-color: #000 !important;
    }
}

/* Show when scrolled */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* footer */
