:root {
    --bs-primary: #0169FC;
    --bs-secondary: #FF854A;
    --scrollbar-thumb: #0169FC;
    --scrollbar-thumb-hover: #00BED0;
    --scrollbar-track: #f1f1f1;
    --scrollbar-width: 4px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: Montserrat;
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    overflow-x: hidden;
    color: #1D1D1D;
}

.text-dark {
    color: #1D1D1D !important;
}

.text-warning {
    color: #F79824 !important;
}

.bg-grey {
    background-color: #000;
    background-image: url('../images/bg-grey.png');
    background-size: cover;
    background-position: center;
}

.btn-warning {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: #fff;
}

.border-shadow {
    border-radius: 6px;
    border: 1px solid #EDEDED;
    background: #FFF;
    box-shadow: 0 127px 36px 0 rgba(224, 224, 224, 0.00), 0 81px 33px 0 rgba(224, 224, 224, 0.01), 0 46px 27px 0 rgba(224, 224, 224, 0.05), 0 20px 20px 0 rgba(224, 224, 224, 0.09), 0 5px 11px 0 rgba(224, 224, 224, 0.10);
}

.form-select,
.form-control {
    border: 1px solid #EDEDED;
}

.c-card {
    transition: all 0.5s ease;
    border: 1px solid transparent;
}

.c-card:hover img {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}
.m-zoom:hover {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    box-shadow: none;
    outline: none;
    border: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bs-primary) !important;
}
.nav-pills .nav-link {
    color: #1D1D1D !important;
}
.nav-pills .nav-link.active {
    position: relative;
    color: #FFF !important;
}

.nav-pills .nav-link.active svg path, .nav-pills .nav-link.active svg rect {
    fill: #FFF !important;
}

/* Firefox and modern browsers */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* WebKit browsers */
*::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 4px;
    border: 2px solid var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
}

.search-box {
    position: relative;
}

.search-box .search-input {
    width: 100%;
    padding: 8px 12px 8px 35px;
    background-color: #FFF;
}

.search-box .search-icon {
    height: 20px;
    width: 20px;
    position: absolute;
    left: 12px;
    top: 12px;
}

.hs-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    background-color: #FFF;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    max-height: 260px;
    overflow-y: auto;
    text-align: left;
}

.hs-suggestions .hs-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #212529;
}

.hs-suggestions .hs-suggestion-item:hover,
.hs-suggestions .hs-suggestion-item.active {
    background-color: #F7F5FF;
}

@media (min-width: 720px) {
    body {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1360px;
    }
}

/* Custom premium dropdown menu styling */
.dropdown-menu {
    border: 1px solid rgba(85, 44, 236, 0.08);
    box-shadow: 0 15px 35px rgba(85, 44, 236, 0.06), 0 5px 15px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 24px;
    color: #4A4A4A;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dropdown-item:hover {
    background-color: #F4F1FF;
    color: var(--bs-primary);
}

.swiper-button-next {
    right: 1px;
}

.swiper-button-prev {
    left: 1px;
}

/* Hover dropdown behavior on desktop */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.25s;
        margin-top: 0;
    }

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

    body {
        background-image: url('../images/bg.svg');
        background-repeat: no-repeat;
        background-size: 100% auto;
    }

    .swiper-button-next {
        right: -50px;
    }

    .swiper-button-prev {
        left: -50px;
    }
}

@media (max-width: 720px) {
    .h2 {
        font-size: 20px;
    }
}

/* Swiper styling and navigation buttons */
.swiper {
    width: 100%;
    padding-bottom: 20px;
}

.swiper-slide {
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    background: #FFF;
    border: 1px solid #EDEDED;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: var(--bs-primary) !important;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 14px !important;
}

.swiper-button-next::after {
    content: "\f061" !important;
    /* fa-arrow-right */
}

.swiper-button-prev::after {
    content: "\f060" !important;
    /* fa-arrow-left */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--bs-primary);
    color: #FFF !important;
    border-color: var(--bs-primary);
}

/* Custom outlined Swiper buttons on dark background (bg-grey section) */
.bg-grey .swiper-button-next,
.bg-grey .swiper-button-prev {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFF !important;
    box-shadow: none !important;
}

.bg-grey .swiper-button-next:hover,
.bg-grey .swiper-button-prev:hover {
    border-color: #FFF !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #FFF !important;
}

/* Figma Tab Buttons styling */
.actions {
    padding: 0 16px;
    scrollbar-width: none;
    /* Firefox */
    justify-content: flex-start;
}

.dark-bg {
    border-radius: 6px;
    background: #1E1E1E;
}

@media (min-width: 768px) {
    .actions {
        justify-content: center;
    }
}

/* Sticky header */
#site-header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: transparent;
}

#site-header.is-sticky {
    position: fixed !important;
    background-color: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

body.has-sticky-header {
    padding-top: var(--header-height, 0px);
}

.actions::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.tab-btn {
    height: 40px;
    padding: 0 24px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Inactive State */
.tab-btn {
    background: #FFF;
    border: 1px solid #E9E9E9;
    color: #1D1D1D;
}

/* Active State */
.tab-btn.active {
    background: var(--bs-secondary);
    /* #FF854A */
    border-color: var(--bs-secondary);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(255, 133, 74, 0.2);
}

.tab-btn:hover:not(.active) {
    background: #FAF9FF;
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}