@font-face {
    font-family: "Yati Sans";
    src: url("../fonts/YatiSansVariation.ttf") format("truetype");
    font-style: normal;
}
.navbar-container {
    position: relative;
    top: 0;
    z-index: 999;
    background-color: #fff;
    /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
}
.scroll-navbar .navbar {
    margin-top: 0;
}
.scroll-navbar .nav-container {
    align-items: center;
    height: 100%;
    margin-top: -0.5rem;
}

.scroll-navbar .nav-contact {
    display: none;
}
.scroll-navbar .navbar-tabs,
.scroll-navbar .navbar-brand,
.scroll-navbar .navbar-brand .gradient-color {
    border-radius: 13px;
}
.scroll-navbar .navbar-brand {
    margin-top: 0;
    margin-left: 0;
    width: 6rem;
    height: 4.813rem;
}
.scroll-navbar .navbar-brand img {
    /* width: 4rem;
    height: 4rem; */
    width: 100%;
    height: auto;
    /* margin-top: 0.625rem; */
    /* padding: 0; */
}
.navbar-dropdown::after {
    background-image: url("../images/footer/down.png");
    background-repeat: no-repeat;
    /* background-size: cover; */
    background-position: center;

    width: 1.117692307692308rem;
    height: 0.6415384615384615rem;

    display: none;
    /* margin-left: 0.5em; */
    content: "";
}

.navbar-dropdown.show::after {
    background-image: url("../images/footer/up.png");
}

.nav-contact.navbar-tabs {
    /* padding: 0.41666667rem 0; */
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    /* flex-grow: 1; */
}

/* .nav-contact ul li:first-child,
.nav-contact ul li:nth-child(3) {
    margin-right: 1.2em;
} */

.top-nav.navbar-nav {
    display: flex;
    justify-content: space-between;
    list-style: none;
    /* position: relative;
    left: 0; */
    /* z-index: 999999; */
    /* padding-top: 10px; */
    /* padding-bottom: 0.41666667rem; */
    /* margin-bottom: 2.2rem; */

    margin-right: 0 !important;
    /* margin-left: 0 !important; */
}

.top-nav a {
    text-decoration: none;
    padding-left: 10px;
    color: white;
    font-size: 0.91666667rem;
    font-weight: 500;
}

.top-nav a:hover {
    text-decoration: underline;
}

.top-nav a svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: #283747;
    object-fit: contain;
}

.nav-container {
    display: flex;
    width: 100%;
    /* margin-top: 20px; */
}

.navbar {
    /* position: absolute;
    top: 0;
    left: 0; */
    width: 100%;
    z-index: 999;
    /* margin-top: -40px; */
}

.navbar-tabs {
    width: 100%;
    justify-content: space-between;
    /* background-color: var(--navbar-color); */
    /* opacity: 0.93; */
    /* border-top-right-radius: 13px;
    border-bottom-right-radius: 13px; */
    /* flex-grow: 1; */
    display: flex !important;
    align-items: center;
    z-index: 1;
}

/* .navbar-tabs.home {
    justify-content: end;
    background-color: var(--navbar-color);
    border-top-right-radius: 13px;
    border-bottom-right-radius: 13px;
    flex-grow: 1;
    display: flex !important;
    align-items: center;
    z-index: 1;
} */

.navbar-tabs .navbar-nav {
    /* padding: 1.08333333rem 0; */
    gap: 2rem;
    /* margin-right: 2rem;
    margin-left: 3rem; */
    margin-left: auto;
    margin-right: auto;
}

.navbar-mobile .navbar-tabs .navbar-nav {
    padding: 1.08333333rem 0;
}

.navbar-desktop .navbar-tabs::before {
    content: "";
    /* width: var(--offset-navbar-width, 150px); */
}

.nav-item {
    margin-right: 1rem;
    padding: 1.08333333rem 0;
}

.nav-item li,
.navbar-mobile .nav-item {
    padding: 0;
}

.nav-item a {
    color: #0c2c19;
    font-family: "Yati Sans";
    font-size: 1.1rem;
    text-transform: uppercase;
    text-wrap: nowrap;
    font-weight: var(--fw-medium) !important;
    /* letter-spacing: 2.01px; */
}

.navbar-nav:first-child .nav-item a {
    border-bottom: 3px solid transparent;
    transition: border-bottom 0.4s ease-in-out;
}

.navbar-nav:first-child .nav-item a:hover {
    /* text-decoration: underline; */
    border-bottom-color: var(--primary-color);
}

.nav-item .dropdown-menu li a,
.nav-item .dropdown-menu li a:hover {
    border-bottom: none !important;
}

.navbar-desktop .nav-item .dropdown-menu li a {
    padding-top: 12px;
    padding-bottom: 12px;
}

.langauage-link .vertical-bar,
.langauage-link .vertical-bar {
    text-decoration: none;
}

.navbar-brand {
    /* width: 9.9166667rem;
    height: 9.41666667rem; */
    /* background: white; */
    border-radius: 0px 0px 17px 17px;
    margin-right: 0 !important;
    /* margin-top: -2.65rem; */
    /* box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
        rgba(60, 64, 67, 0.15) 0px 1px 3px 1px; */

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    /* position: absolute; */
    /* z-index: 2; */
    transition: all 0.3s ease-in;
}

.navbar-brand .gradient-color {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(87, 52, 146, 0) 0%,
        rgba(87, 52, 146, 0) 36.84%,
        var(--ct-background) 277.88%
    );
    border-radius: 0px 0px 17px 17px;
}

.navbar-brand img {
    /* margin-top: 1.563rem; */
    display: block;
    text-align: center;
    position: relative;
    /* width: 7.142857142857143rem; 100px
    height: 7.142857142857143rem; */
    width: auto;
    height: 5rem; /*70px*/
    object-fit: contain;
    /* padding: 0.625rem; */
}

/* .navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #ffffff !important;
} */

.navbar-mobile .navbar-nav .nav-link.active,
.navbar-mobile .navbar-nav .nav-link:hover,
.navbar-mobile .navbar-nav .nav-link.show {
    opacity: 0.8;
    /* color: #ffffff !important; */
}

.dropdown-menu {
    background: #ffffffeb !important;

    /* border-radius: 17px !important; */
    padding: 0 !important;
}

.navbar-mobile .dropdown-menu {
    border-radius: 17px !important;
}

.navbar-mobile .dropdown-menu li {
    border-bottom: 0.1px solid var(--navbar-color);
}

.navbar-mobile ul.dropdown-menu li:first-child a {
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
}

.navbar-mobile ul.dropdown-menu li:last-child a {
    border-bottom-left-radius: 17px;
    border-bottom-right-radius: 17px;
}

.navbar-mobile ul.dropdown-menu li:last-child {
    border-bottom: none;
}

.navbar-mobile ul.dropdown-menu li a {
    height: 3rem;
    display: flex;
    align-items: center;

    transition: all 0.5s;
}

.navbar-mobile ul.dropdown-menu li a {
    height: auto;
    min-height: 3rem;
    text-wrap: wrap;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: #ffffff !important;
    background: var(--navbar-color) !important;
}

.navbar-mobile {
    display: none !important;
}

.nav-link {
    color: #0c2c19 !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler {
    border-color: white;
    height: 50px;
    width: 50px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-toggler i {
    color: #ffffff;
    font-size: 35px;
}

/* .top-nav #desktop-search-btn { */
/* display: flex;
    justify-content: center;
    align-items: center; */
/* padding: 0.125rem 0.625rem 0.625rem; */
/* } */

.top-nav {
    margin-right: 0;
    margin-left: 0;
    justify-content: space-between;
}

.top-nav a.shown-search-btn {
    background-color: #fff;
    border-top-right-radius: 0.625rem;
    border-top-left-radius: 0.625rem;
}

.top-nav a.shown-search-btn:hover,
.top-nav a.shown-search-btn:focus {
    opacity: 1;
}

.top-nav a.shown-search-btn svg {
    fill: var(--ct-background);
}

.top-nav .desktop-search-box {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    gap: 0.25rem;
    position: absolute;
    right: 0;
    /* margin-top: 0.438rem; */
    /* margin-right: -7px; */
    background-color: white;
    padding: 1.875rem 0.563rem 2.625rem 1.875rem;
    border-radius: 0.625rem;
    /* border-top-right-radius: 0; */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    flex-wrap: wrap;
    flex-direction: column;
}

.top-nav .search-box-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

/* .top-nav .desktop-search-box::before {
    content: "";
    position: absolute;
    top: -26px;
    right: 6px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid transparent;
    border-bottom: 14px solid rgb(138, 40, 142);
} */

.top-nav .shown-search-box {
    opacity: 1;
    visibility: visible;
    z-index: 99999;
}

.top-nav .desktop-search-box .search-input {
    border: 2px solid #e2e2e2;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-left: 3.125rem;
}

.top-nav .desktop-search-box .form-control::placeholder {
    color: #9faabe !important;
    font-family: "Yati Sans";
}

.top-nav .desktop-search-box .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.top-nav .desktop-search-box .search-btn {
    box-sizing: border-box;
    border: 2px solid var(--primary-color);
    max-width: fit-content;
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-family: "Yati Sans";
    font-weight: 500;
    transition: background-color 1s, color 0.5s;
}

.top-nav .desktop-search-box .search-input,
.top-nav .desktop-search-box .search-btn {
    font-size: 1.125rem;
    padding: 0.6rem 1.25rem;
    border-radius: 2.083333333333333rem;
}

.top-nav .desktop-search-box .search-btn.active,
.top-nav .desktop-search-box .dismiss-btn:active {
    border: none;
}

.top-nav .desktop-search-box .search-btn:hover .search-icon {
    color: #fff;
}

.top-nav .desktop-search-box .dismiss-icon {
    font-size: 1.875rem;
    font-family: "Yati Sans";
    font-weight: 500;
    color: #303030;
}

.top-nav .desktop-search-box .search-icon {
    color: var(--primary-color);
    width: 1.375rem;
    height: 1.375rem;
    object-fit: contain;
}

.top-nav .langauage-link {
    display: flex;
    justify-content: end;
}

@media (max-width: 1025px) {
    .nav-item {
        margin-right: 10px;
    }

    .navbar-dropdown::after {
        transform: scale(0.5);
    }
}

@media (max-width: 821px) {
    .nav-item {
        margin-right: 6px;
    }
    /* .nav-item a {
        font-size: 0.6rem;
    } */
}

@media screen and (max-width: 992px) {
    .scroll-navbar .navbar-brand {
        margin-left: 0;
        width: 4.5rem;
    }
    .scroll-navbar .navbar-brand img {
        width: 4rem;
        /* height: 3rem; */
    }
}

@media (max-width: 576px) {
    .navbar-dropdown::after {
        transform: scale(1);
    }

    .nav-contact {
        display: none;
    }

    .navbar-brand {
        margin-top: 25px !important;
        position: relative;
    }

    .navbar-container {
        transition: all 0.3s ease-in-out;
        /* z-index: 999; */
        position: absolute;
    }

    .navbar-mobile {
        display: block !important;
        transition: ease-in-out 0.1s;
    }

    .navbar-desktop {
        display: none !important;
    }

    .navbar-collapse {
        overflow: scroll;
        margin-top: 11.384615rem !important;
        /* border-radius: 13px; */
        /* padding: 0px 0px 0px 10px; */
        margin-left: 0px !important;
        margin-right: 0px !important;
        position: absolute;
        top: 30px;
        left: 0;
        width: 100%;
        z-index: 1000;
        transition: none !important;
    }

    .navbar-collapse .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-top: 25px;
        font-family: "Yati Sans";
    }

    .bottom-nav {
        display: flex;
        flex-direction: column;
        justify-content: start;
        list-style: none;
        gap: 10px;
    }

    .bottom-nav a {
        /* text-decoration: none; */
        color: white;
        font-size: 1.69230769rem;
        font-family: "Yati Sans";
        margin-left: 5px;
    }

    .bottom-nav-email {
        display: flex;
        align-items: center;
    }

    .bottom-nav-email a {
        font-size: 1.38461538rem;
    }

    .bottom-nav-email svg {
        width: 1.61538462rem;
        height: 1.15384615rem;
        object-fit: contain;
        fill: #fff;
    }

    .bottom-nav a:first-child {
        margin-left: 0;
    }

    .navbar-mobile .search-box {
        border: 2px solid white;
        padding: 25px;
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 4.38461538rem;
    }

    .navbar-mobile .search-box svg {
        width: 2.077rem;
        height: auto;
        object-fit: contain;
        fill: #fff;
    }

    .navbar-mobile .search-box input {
        background: transparent;
        border: none;
    }
    .navbar-mobile-bg {
        background-color: rgb(138, 40, 142);
    }
}

@media (max-width: 431px) {
    .navbar-collapse .navbar-nav {
        gap: 20px !important;
    }

    .nav-item a {
        font-size: 1.3rem;
        font-weight: bold;
    }

    .navbar-brand {
        height: auto;
    }

    /* .dropdown-menu .dropdown-item {
        font-size: 1rem !important;
    } */
}

@media (max-width: 391px) {
    .navbar-collapse .navbar-nav {
        gap: 10px !important;
    }
}

.search-result-container {
    /* border: 2px solid #e2e2e2; */
    /* box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); */
    width: var(--search-result-width, 51.93875rem);
    margin-left: 3.125rem;
    font-size: 1.125rem;
    border-radius: 1rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    overflow: hidden;
}

.search-result-content {
    max-height: 13rem;
    overflow-y: auto;
}

.search-result-container .search-result-item a {
    display: block;
    color: var(--primary-text-color);
    padding: 0.5rem 1.25rem;
    text-transform: unset;
    text-wrap: auto;
    font-weight: var(--fw-regular);
    text-align: start;
}

.search-result-container .search-result-item a:hover {
    color: var(--primary-color);
}

.search-result-container .loading-icon,
.search-result-container .no-result {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 12rem;
    gap: 7px;
}

.search-result-container .loading-text,
.search-result-container .no-result {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-text-color);
}

.search-result-container .no-result {
    color: red;
    gap: 0;
}

.search-result-container .spinner-border {
    color: var(--primary-color);
    --bs-spinner-width: 1.3rem;
    --bs-spinner-height: 1.3rem;
    --bs-spinner-border-width: 0.15em;
}

.sologan-container {
    display: none;
    position: fixed;
    top: 0;
    background-color: var(--primary-color);
    color: #fff;
    z-index: 9999999999;
}

.sologan-container .sologan-text {
    font-weight: var(--fw-medium);
    font-size: 1.0714285714rem; /*15px*/
    padding: 0.9285714285714286rem; /*13px*/
    margin-bottom: 0;
}

@media screen and (max-width: 1200px) {
    .search-result-container {
        width: var(--search-result-width, 59.35857142rem);
    }
    .sologan-container .sologan-text {
        font-size: 1.25rem;
        padding: 1.083333rem;
    }
}
@media screen and (max-width: 576px) {
    .navbar-container {
        background-color: transparent;
        box-shadow: none;
    }

    .navbar-mobile {
        padding-top: 0 !important;
    }

    .navbar-mobile .navbar-brand {
        background-color: #fff;
        margin-top: 0 !important;
    }

    .navbar-mobile .navbar-brand img {
        width: 100%;
        height: 100%;
    }

    .navbar-mobile .dropdown-menu .dropdown-item,
    .navbar-mobile .sub-dropdown .dropdown-item {
        color: #0c2c19 !important;
    }

    .navbar-mobile .nav-item a,
    .navbar-mobile .dropdown-menu .dropdown-item:hover,
    .navbar-mobile .sub-dropdown.show .dropdown-item.show {
        color: #fff !important;
    }

    .navbar-mobile .mobile-search-input {
        font-size: 1.125rem;
        /* padding: 0.6rem 0.75rem; */
    }

    .search-result-container {
        background: white;
        width: 100%;
        position: absolute;
        margin-top: 0.8rem;
        margin-left: 0;
        z-index: 9999999999;
    }

    .sologan-container {
        display: none !important;
    }
}

/* Styles for scrollbar design */
.search-result-content::-webkit-scrollbar {
    width: 10px;
}

.search-result-content::-webkit-scrollbar-track {
    background-color: #ecf5f2;
    border-radius: 13px;
}

.search-result-content::-webkit-scrollbar-thumb {
    background-color: #c8c8c8;
    border-radius: 13px;
    opacity: 1;
    padding: 50px;
    height: 10px;
}

.search-result-content::-webkit-scrollbar-thumb:hover {
    opacity: 0.5;
}

.search-result-content::-webkit-scrollbar-button:single-button {
    background-color: transparent;
    display: block;
    background-size: 16px;
    background-repeat: no-repeat;
}

.search-result-content::-webkit-scrollbar-button:single-button:vertical:decrement {
    height: 11px;
    width: 17px;
    background-position: center 1px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(200, 200, 200)'><polygon points='50,00 0,50 100,50'/></svg>");
}

.search-result-content::-webkit-scrollbar-button:single-button:vertical:decrement:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='50,00 0,50 100,50'/></svg>");
}

.search-result-content::-webkit-scrollbar-button:single-button:vertical:increment {
    height: 11px;
    width: 17px;
    background-position: center 0px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(200, 200, 200)'><polygon points='0,0 100,0 50,50'/></svg>");
}

.search-result-content::-webkit-scrollbar-button:single-button:vertical:increment:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(128, 128, 128)'><polygon points='0,0 100,0 50,50'/></svg>");
}
