.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* style breadcrumb widget as in previous bootstrap versions */
.breadcrumb {
    background-color: var(--bs-gray-200);
    border-radius: .25rem;
    padding: .75rem 1rem;
}

.breadcrumb-item>a {
    text-decoration: none;
}

/* Importing Google fonts - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

/* Global font override to Montserrat */
:root {
    --tblr-font-sans-serif: 'Montserrat', sans-serif !important;
    --bs-font-sans-serif: 'Montserrat', sans-serif !important;
    --tblr-body-font-family: 'Montserrat', sans-serif !important;
}


/* Specific overrides for common elements */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
input,
select,
textarea,
.navbar,
.nav-link,
.dropdown-item,
.card,
.card-title,
.card-text,
.table,
th,
td {
    font-family: 'Montserrat', sans-serif !important;
}

/* Override for any potential third-party components */
.form-control,
.form-select,
.input-group,
.modal,
.modal-title,
.modal-body,
.toast,
.alert,
.badge {
    font-family: 'Montserrat', sans-serif !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(var(--tblr-secondary-rgb), 0.08) !important;
    transition: opacity 0.3s ease;
}

.slider-wrapper .slider-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.slider-wrapper .slider-item::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(20%);
    background-size: cover;
    background-position: center;
}

.slider-wrapper .slider-item .slide-content {
    position: relative;
    z-index: 10;
    color: #fff;
    width: 100%;
    opacity: 0;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 20px 10px;
}

.slider-item.swiper-slide-active .slide-content {
    animation: animate_opacity 0.8s 0.6s linear forwards;
}

@keyframes animate_opacity {
    100% {
        opacity: 1;
    }
}

.slider-wrapper .slider-item .slide-content>* {
    max-width: 35%;
}

.slider-item .slide-content .slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 5px;
    opacity: 0;
    text-transform: uppercase;
    transform: translateY(60%);
}

.slider-item .slide-content .slide-subtitle {
    font-size: 1rem;
    font-weight: normal;
    opacity: 0;
    transform: translateY(60%);
}

.slider-item.swiper-slide-active :where(.slide-title, .slide-subtitle) {
    animation: animate_text 0.6s 0.6s linear forwards;
}

@keyframes animate_text {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-item .slide-content .slide-description {
    margin-top: 25px;
    line-height: 25px;
    opacity: 0;
    transform: translateY(60%);
}

.slider-item.swiper-slide-active .slide-description {
    animation: animate_text 0.6s 1s linear forwards;
}

.slide-title, 
.slide-subtitle, .slider-tab,
.slide-description {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.slider-item .slide-content .slide-button {
    display: block;
    margin-top: 45px;
    color: #fff;
    width: 0;
    padding: 13px 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid #fff;
    transition: 0.5s ease;
    opacity: 0;
    white-space: nowrap;
}

.slider-item.swiper-slide-active .slide-button {
    animation: animate_button 0.5s 1.3s linear forwards;
}

@keyframes animate_button {
    100% {
        width: 250px;
        opacity: 1;
    }
}

.slider-item .slide-content .slide-button span {
    opacity: 0;
}

.slider-item.swiper-slide-active .slide-button span {
    animation: animate_opacity 0.5s 1.5s linear forwards;
}

.slider-item .slide-content .slide-button:hover {
    color: #000;
    background: #fff;
}

.slider-container .slider-controls {
    position: absolute;
    bottom: 45px;
    z-index: 30;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.slider-controls .slider-pagination {
    display: flex;
    list-style: none;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 20px;
    position: relative;
    justify-content: space-between;
}

.slider-pagination .slider-indicator {
    position: absolute;
    bottom: 0;
    border-bottom: 2px solid #fff;
    transition: 0.4s ease-in-out;
}

.slider-pagination .slider-tab {
    color: #DBDADA;
    padding: 20px 30px;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.slider-controls .slider-tab.current {
    color: #fff;
}

.slider-navigations button {
    position: absolute;
    top: 50%;
    color: #fff;
    z-index: 20;
    border: none;
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #202022;
    transform: translateY(-50%);
    transition: 0.4s ease;
}

.slider-navigations button:hover {
    background: #323235;
}

.slider-navigations button.swiper-button-disabled {
    display: none;
}

.slider-navigations button#slide-prev {
    left: 20px;
}

.slider-navigations button#slide-next {
    right: 20px;
}

@media (max-width: 1536px) {

    .slider-wrapper .slider-item .slide-content,
    .slider-controls .slider-pagination {
        width: 85%;
    }
}

@media (max-width: 1024px) {

    .slider-wrapper .slider-item .slide-content,
    .slider-controls .slider-pagination {
        width: 100%;
    }

    .slider-wrapper .slider-item .slide-content>* {
        max-width: 50%;
    }

    .slider-container .slider-controls {
        bottom: 50px;
    }

    @keyframes animate_button {
        100% {
            width: 100%;
            opacity: 1;
        }
    }

    .slider-navigations button {
        top: unset;
        bottom: -15px;
        background: none;
    }

    .slider-navigations button:hover {
        background: none;
    }
}

@media (max-width: 768px) {
    .slider-wrapper .slider-item .slide-content>* {
        max-width: 100%;
    }
}

/* Footer styling */
.footer {
    background-color: #f8fafc;
    color: #475569;
}

.footer.footer-transparent {
    background-color: transparent;
    border-top: 1px solid rgba(98, 105, 118, 0.16);
}

.footer a:not(.btn) {
    color: inherit;
    text-decoration: none;
}

.footer a:not(.btn):hover {
    color: #206bc4;
    text-decoration: none;
}

.footer .list-inline-item:not(:last-child) {
    margin-right: 1.5rem;
}

.footer .social-links a {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(98, 105, 118, 0.1);
    color: inherit;
    transition: all 0.2s ease;
}

.footer .social-links a:hover {
    background: rgba(98, 105, 118, 0.2);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .footer.footer-transparent {
        background-color: rgba(0, 0, 0, 0.05);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Only apply transparent background when scrolled */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(5px) !important;
    transition: all 0.5s ease;
}

.navbar.sticky-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.navbar-dark .navbar-nav .nav-link, .navbar-dark .navbar-nav .nav-link .nav-link-icon {
    color: #ffffff;
}

.slider-container {
    position: relative;
    z-index: 1;
    margin-top: 0;
    height: 680px;
    /* Default for desktop */
}

/* Remove duplicate footer styling section from lines 358-428 since it's already defined earlier */
@media (max-width: 1024px) {
    .slider-container {
        height: 640px;
        /* For tablets */
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 620px;
        /* For phones */
    }
}

/* Combine navbar styles into one section */
.navbar {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    opacity: 1;
    transition: all 0.5s ease;
    --tblr-navbar-border-color: rgba(255, 255, 255, 0.1) !important;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

/* Remove redundant .navbar.sticky-top class since its properties are merged above */

/* Add padding to body to prevent content from hiding behind fixed navbar */
body {
    /* padding-top: 56px; */
    /* Adjust this value based on your navbar height */
}





/* Adjust slider controls for mobile */
/* Combine and optimize media queries */
@media (max-width: 1200px) {
    .container-xl {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .navbar-nav.flex-row.order-md-last .dropdown-menu {
        width: calc(100vw - 3rem);
        transform: translateX(-50%);
    }

    .slider-container {
        height: 680px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 620px;
    }

    .slider-wrapper .slider-item .slide-content>* {
        max-width: 100%;
    }
}

/* left: 50%; */
/* margin-top: 0.5rem; */


.dropdown-toggle:after {
    border-bottom: none !important;
    margin-left: 1em !important;
    transform: rotate(-135deg) !important;
}

@media (min-width: 768px) {
    .navbar-expand-md .nav-item.active {
        position: relative;
    }

    .navbar-expand-md .nav-item.active:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -.25rem;
        border-color: #ffffff !important;
        border-bottom-width: 4px !important;
    }
}
