* {
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Red Hat Display', sans-serif !important;
}
.text-bg-primary,
.btn-primary,
.btn-outline-primary:hover{color:#fff !important;}
a {
    text-decoration: none;
    transition: 300ms
}

a:hover {
    text-decoration: underline;
}

.btn,
.form-control,
.form-select,
.form-check-input {
    box-shadow: none !important;
    border-radius: 0;
}

.btn-dark {
    color: #fff !important;
}

.shadow-sm {
    box-shadow: 0 0 7px #dadada !important;
}

.top-unset {
    top: unset !important;
}

.card, .card-img {
    border-radius: 0;
    border: none;
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.object-cover {
    object-fit: cover;
}


.zoom {
    overflow: hidden;
    position: relative;
}

.zoom img {
    transition: 300ms;
}

.zoom:hover img,
.card:hover .zoom img {
    transform: scale(1.03);
}

#catsMenu a[data-bs-toggle="collapse"] {
    position: relative;
    display: block;
}

#catsMenu a[data-bs-toggle="collapse"]:after {
    content: "\F64D";
    font-family: bootstrap-icons !important;
    float: right;
    font-size: 16px;
}

#catsMenu a[aria-expanded="true"]:after {
    content: "\F2EA";
}

#mainMenu .nav-link {
    color: #fff;
    font-weight: 700;
}

li::marker { color: rgba(var(--bs-primary-rgb)); }

@media (min-width: 992px) {
    #mainMenu .nav-link {
        padding: 1rem 0.5rem !important
    }
}

#mainMenu .nav-link.active {
}

#mainMenu #megaMenu {
    position: unset;
}

#mainMenu #megaMenu .dropdown-item {
    white-space: unset;
}

#mainMenu .dropdown-item{font-weight:500;text-transform: uppercase;}

.carousel-caption {
    left: unset;
    right: 30px;
    text-align: left;
    max-width: 600px;
    bottom: 0;
}

@media (min-width: 1140px) and (max-width: 1319px) {
    .carousel-caption {
        max-width: 450px
    }

    .carousel-caption .display-5 {
        font-size: 38px
    }
}

@media (min-width: 960px) and (max-width: 1139px) {
    .carousel-caption {
        max-width: 380px
    }

    .carousel-caption .display-5 {
        font-size: 30px
    }
}

@media (min-width: 720px) and (max-width: 959px) {
    .carousel-caption {
        max-width: 300px
    }

    .carousel-caption .display-5 {
        font-size: 24px
    }

    .carousel-caption .btn {
        padding: 5px 15px !important;
        font-size: 14px !important;
    }
}

@media (min-width: 0px) and (max-width: 719px) {
    .carousel-caption {
        max-width: 100%;
        position: unset;
        text-align: center;
        padding: 15px
    }

    .carousel-caption .display-5 {
        font-size: 24px
    }

    .carousel-caption .btn {
        padding: 5px 15px !important;
        font-size: 14px !important;
    }
}

#askArea {
    position: relative;
}

#askArea:after {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100px;
    content: "";
    background: url(../template/imgs/overlay-bg.png) bottom repeat-x;
    z-index: 1
}

#askArea .mb-lg-0.mb-4 {
    position: relative;
    z-index: 2
}

#pageHeading {
    position: relative;
}

#pageHeading:after {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100px;
    content: "";
    background: url(../template/imgs/overlay-bg.png) bottom repeat-x;
    z-index: 1
}

#pageHeading .container {
    position: relative;
    z-index: 2
}

#accordionFlushFilter .accordion-item {
    margin-bottom: 15px;
}

#accordionFlushFilter .accordion-button {
    background: unset !important;
    box-shadow: none;
    padding: 0 !important;
    font-weight: bold;
}

#accordionFlushFilter .accordion-body {
    max-height: 150px;
    overflow: auto;
}

#largeArea .carousel-item {
    mix-blend-mode: multiply !important;
}

#largeArea .carousel-indicators {
    position: unset;
}

#largeArea .carousel-indicators > a {
    width: 80px;
    height: auto;
    margin: 0 5px 0 0;
}

#largeArea .carousel-indicators a img {
    display: block;
}

#largeArea hr {
    border-color: rgba(var(--bs-primary-rgb)) !important;
    opacity: 1;
}


@media (min-width: 768px) {
    #filter {
        display: block;
    }

    .container-fluid {
        padding: 0 60px
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
}

@media (min-width: 992px) and (max-width: 1199px) {
}

@media (min-width: 768px) and (max-width: 991px) {
}

@media (min-width: 576px) and (max-width: 767px) {
    #largeArea .ps-md-4.border-start {
        border: none;
    }
}

@media (min-width: 0px) and (max-width: 575px) {
    header .nav.justify-content-sm-end {
    }

    header .nav.justify-content-sm-end li {
        width: 50%;
    }

    header .nav.justify-content-sm-end li a {
        display: block;
        padding: 0.5rem 0.75rem;
        color: #fff;
        text-align: center;
        background: #004b90 !important;
    }

    header .nav.justify-content-sm-end li:last-child a {
        background: #646464 !important;
    }

    #largeArea .ps-md-4.border-start {
        border: none;
    }
}

/* =================================================================
   CUSTOM NAVIGATION BAR STYLING (PROMINENCE & CRO ENHANCEMENTS)
   ================================================================= */

/* 1. Enhanced Dropdown Links (Specialty, Type, Resources) */
.primary-navigation-bar .nav-link.dropdown-toggle {
    font-weight: 600;
    color: #ffffff !important;
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.2s ease-in-out;
}

/* Larger, clear caret arrow */
.primary-navigation-bar .nav-link.dropdown-toggle::after {
    margin-left: 0.45em;
    vertical-align: 0.15em;
    border-top: 0.4em solid;
    border-right: 0.4em solid transparent;
    border-bottom: 0;
    border-left: 0.4em solid transparent;
    opacity: 0.9;
}

/* Soft highlight on hover */
.primary-navigation-bar .nav-item.dropdown:hover > .nav-link.dropdown-toggle {
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    border-radius: 6px;
}

/* 2. High-Contrast CTA Button: Download Catalogue */
.primary-navigation-bar .btn-outline-light {
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    border: none !important;
    background-color: #ffffff !important;
    color: #0d6efd !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* Button Hover State */
.primary-navigation-bar .btn-outline-light:hover,
.primary-navigation-bar .btn-outline-light:focus {
    background-color: #f8f9fa !important;
    color: #0b5ed7 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

/* Button Active Press State */
.primary-navigation-bar .btn-outline-light:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* =================================================================
   GLASSMORPHISM DROPDOWN MENU STYLING
   ================================================================= */

.primary-navigation-bar .dropdown-menu.glass-dropdown {
    /* Translucent frosted glass effect */
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    
    /* Elegant modern border & shadow */
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.12), 0 2px 6px 0 rgba(0, 0, 0, 0.04) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

/* Dropdown link hover states within glass backdrop */
.primary-navigation-bar .glass-dropdown .dropdown-item {
    color: #1e293b !important;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border-radius: 6px;
}

.primary-navigation-bar .glass-dropdown .dropdown-item:hover,
.primary-navigation-bar .glass-dropdown .dropdown-item:focus {
    background: rgba(13, 110, 253, 0.12) !important; /* Soft blue glass accent */
    color: #0d6efd !important;
    transform: translateX(4px);
}