@keyframes pulsate {
    0% { text-shadow: 0 0 10px #09f; }
    50% { text-shadow: 0 0 20px #09f, 0 0 30px #09f; }
    100% { text-shadow: 0 0 10px #09f; }
}

:root {
    --theme-main: rgb(0, 105, 180);
    --theme-secondary: rgb(108 117 125);
    --subtheme-brands:  rgb(0, 73, 127);
    --subtheme-events: rgb(63, 165, 53);
    --subtheme-media: rgb(216, 154, 6);
    --subtheme-products: rgb(0, 140, 168);
    --subtheme-training: rgb(18, 48, 75);
    --subtheme-tools: rgb(149, 191, 31);
    --subtheme-communication: rgb(117, 141, 154);
    --bruker-blue: rgb(0, 105, 180);
    --dot: rgb(230, 0, 125);
}

.dot {
    color: rgb(from var(--dot) r g b);
}

.bruker-blue {
    background: rgb(from var(--bruker-blue) r g b);
}

.subtheme-brands {
    background: rgb(from var(--subtheme-brands) r g b);
}

.subtheme-events {
    background: rgb(from var(--subtheme-events) r g b);
}

.subtheme-events {
    background: rgb(from var(--subtheme-events) r g b);
}

.subtheme-media {
    background: rgb(from var(--subtheme-media) r g b);
}

.subtheme-products {
    background: rgb(from var(--subtheme-products) r g b);
}

.subtheme-training {
    background: rgb(from var(--subtheme-training) r g b);
}

.subtheme-tools {
    background: rgb(from var(--subtheme-tools) r g b);
}

.subtheme-communication {
    background: rgb(from var(--subtheme-communication) r g b);
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */



body {
    font-family: "Univers Roman", "Roboto", "Arial", sans-serif;
    color: rgb(from var(--theme-secondary) r g b)
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    font-family: "Univers Roman", "Roboto", "Arial", sans-serif;
    color: rgb(10, 38, 64);
}

.bg-primary,
#topnavbar {
    background-color: rgb(from var(--theme-main) r g b)!important;
}

.navbar.bg-primary .navbar-toggler-icon,
[data-bs-theme="dark"] .navbar.bg-primary .navbar-toggler-icon,
[data-bs-theme="light"] .navbar.bg-primary .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar.bg-primary .navbar-toggler,
[data-bs-theme="dark"] .navbar.bg-primary .navbar-toggler,
[data-bs-theme="light"] .navbar.bg-primary .navbar-toggler {
    border-color: #fff;
}

#logo {
    height: 52px;
    width: auto;
}

#topnavbar {
    z-index: 1000;
}

#topnavbar .nav-icon {
    height: 40px;
    transition: all 250ms ease;
    filter: brightness(100%);
    padding: 5px; /* Adds space to prevent clipping during zoom */
}

#topnavbar .nav-icon:hover {
    filter: brightness(110%) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    transform: scale(1.05);
}

.dropdown-toggle::after {
    color: white;
}

#headernav {
    height: 80px;
}

.navbar-brand img {
    height: 75px;
    width: auto;
}

.navbar .nav-link,
.navbar .nav-link:focus {
    text-decoration: none;
	text-shadow: 1px 1px 2px black;
	transition: 250ms ease-in-out 0s;
	outline: 0 none;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    animation: pulsate 3s infinite;
    color: #fff;
	text-shadow: -1px 1px 8px #ffc, 1px -1px 8px #fff;
}

.navbar .nav-link.btn,
.navbar .nav-link.btn:focus {
	text-shadow: none;
}

.nowrap{
    white-space: nowrap;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Custom Component: subnavbar              */

#subheadernav {
    font-size: 1em;
    line-height: 2.5em;
}

#subheadernav .navbar-toggler:focus {
    box-shadow: none;
}

#subheadernav .navbar-toggler .fa-chevron-up,
#subheadernav .navbar-toggler .fa-chevron-down {
  font-size: 1.25rem; /* Match Bootstrap's default toggler icon size */
  transition: transform 250ms ease-in-out; /* Smooth rotation animation */
}

#subheadernav .navbar-toggler[aria-expanded="false"] .fa-chevron-up,
#subheadernav .navbar-toggler[aria-expanded="false"] .fa-chevron-down {
  transform: rotate(180deg);
}

#subheadernav a,
#subheadernav button {
    text-transform: uppercase;
    color: white;
    width: 100%;
}

#subnavbar a:hover,
#subnavbar a:active,
#subnavbar a:focus,
#subnavbar button:hover,
#subnavbar button:active,
#subnavbar button:focus {
    color: white;
    text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px #00b7ff;
}

#subnavbar .dropdown-menu[data-bs-popper] {
    margin-top: 0;
    padding-top: 0;
    border-radius: 0;
    background-color: inherit;    
}

#subnavbar .dropdown-menu[data-bs-popper] li {
    border-top: 1px solid white;
}

#subnavbar .dropdown-menu[data-bs-popper] a {
    margin-top: 0;
    text-transform: capitalize;
}

#subnavbar .dropdown-item:focus,
#subnavbar .dropdown-item:hover {
    background-color: inherit;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */



#hero-section {
    background: url(/assets/img/hero/hero-bg2.webp) no-repeat scroll right;
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* Custom Component: Joez Upcoming Floater  */

#upcoming-floater {
    position: fixed;
    top: 20%;
    right: 0;
    background: transparent;
    padding-right: 0;
    font-size: 0.85em;
    color: white;
    transition: transform 250ms ease-in-out;
    display: flex; /* Use Flexbox for side-by-side layout */
    align-items: stretch; /* Ensure both columns stretch to the same height */
    z-index: 100;
}

#upcoming-floater a,
#upcoming-floater a:link,
#upcoming-floater a:visited {
    color: white;
    text-decoration: none;    
}

#upcoming-floater a:hover,
#upcoming-floater a:active,
#upcoming-floater a:focus {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px #00b7ff;    
}

#upcoming-floater .block {
    background: transparent;
}

#upcoming-floater.hidden {
    transform: translateX(calc(100% - 8px)); /* hide the floater by sliding it to the right */
}

#upcoming-floater .toggler i {
    width: 40px;
    height: 40px;
    background: rgb(from var(--theme-main) r g b);
    border: none;
    border-radius: 1em 0 0 1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1em 0 0 1em; /* Default state */
    transition: border-radius 250ms ease;
}

#upcoming-floater .floater-content {
    padding: 10px;
    width: 200px;
}

#upcoming-floater .toggler {
    cursor: pointer;
    margin-left:-1.5em;
    flex: 0 0 50px; /* Fixed width for icon column */
    display: flex; /* Flexbox to center icon */
    justify-content: center; /* horizontal positioning */
    align-items: top; /* vertical positioning */
    }

#upcoming-floater div {
    flex: 1; /* Take remaining space */
    padding: 0;
}

#upcoming-floater h2 {
    font-weight: bold;
    font-size: 1.25em;
    text-align: center;
    padding: 0.5em 1em;
    margin-bottom: 3px;
    background: rgba(from var(--theme-secondary) r g b / 0.95);   
}

#upcoming-floater .subtheme-brands h2 {
    background: rgba(from var(--subtheme-brands) r g b / 0.95);
}

#upcoming-floater .subtheme-events h2 {
    background: rgba(from var(--subtheme-events) r g b / 0.95);
}

#upcoming-floater .subtheme-media h2 {
    background: rgba(from var(--subtheme-media) r g b / 0.95);
}

#upcoming-floater .subtheme-products h2 {
    background: rgba(from var(--subtheme-products) r g b / 0.95);
}

#upcoming-floater .subtheme-training h2 {
    background: rgba(from var(--subtheme-training) r g b / 0.95);
}

#upcoming-floater .subtheme-tools h2 {
    background: rgba(from var(--subtheme-tools) r g b / 0.95);
}

#upcoming-floater .subtheme-communication h2 {
    background: rgba(from var(--subtheme-communication) r g b / 0.95);
}

#upcoming-floater ul,
#upcoming-floater ol {
    padding-left: 0;
}

#upcoming-floater li {
    list-style-type: none;
    line-height: 1.5em;
    padding: 1em;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
    background: rgba(from var(--theme-secondary) r g b / 0.90);
}

#upcoming-floater .subtheme-brands li {
    background: rgba(from var(--subtheme-brands) r g b / 0.90);
}

#upcoming-floater .subtheme-events li {
    background: rgba(from var(--subtheme-events) r g b / 0.90);
}

#upcoming-floater .subtheme-media li {
    background: rgba(from var(--subtheme-media) r g b / 0.90);
}

#upcoming-floater .subtheme-products li {
    background: rgba(from var(--subtheme-products) r g b / 0.90);
}

#upcoming-floater .subtheme-training li {
    background: rgba(from var(--subtheme-training) r g b / 0.90);
}

#upcoming-floater .subtheme-tools li {
    background: rgba(from var(--subtheme-tools) r g b / 0.90);
}

#upcoming-floater .subtheme-communication li {
    background: rgba(from var(--subtheme-communication) r g b / 0.90);
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.card {
    border-radius: 1.25em;
    border-width: 2px;
    text-align: center;
    overflow: hidden;
    color: white;
    background: rgb(from var(--theme-secondary) r g b);
}

.card.subtheme-brands {
    background: rgba(from var(--subtheme-brands) r g b / 1);
}

.card.subtheme-events {
    background: rgba(from var(--subtheme-events) r g b / 1);
}

.card.subtheme-media {
    background: rgba(from var(--subtheme-media) r g b / 1);
}

.card.subtheme-products {
    background: rgba(from var(--subtheme-products) r g b / 1);
}

.card.subtheme-training {
    background: rgba(from var(--subtheme-training) r g b / 1);
}

.card.subtheme-tools {
    background: rgba(from var(--subtheme-tools) r g b / 1);
}

.card.subtheme-communication {
    background: rgba(from var(--subtheme-communication) r g b / 1);
}

.card a,
.card a:link,
.card a:visited{
    color: white;
    text-decoration: none;
    text-transform: uppercase;  
}

.card a:hover,
.card a:active,
.card a:focus {
    color: white;
    text-decoration: none;
    text-transform: uppercase;  
    color: white;
    text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px #00b7ff;
}

.card-text {
    padding: 1em 0 0 0;
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* BASE Footer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#footer {
    font-size: 0.8em;
    background-color: #ccc;
    color: rgb(10, 38, 64);
}

#footer a.link,
#footer a.link:link,
#footer a.link:visited {
    color: rgb(10, 38, 64);
    transition: 250ms ease-in-out 0s;
    outline: 0 none;
    text-decoration: none;
    white-space: nowrap;
}

#footer a.link:hover,
#footer a.link:active,
#footer a.link:focus {
    color: black;
    text-decoration: none;
    transition: 250ms ease-in-out 0s;
    outline: 0 none;
    text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white;
}

#footer h2 {
    color: rgb(10, 38, 64);
}

#footer ul,
#footer ol,
#footer dl {
    padding-left: 0;
}

#footer li {
    list-style-type: none;
}

/* BRUKER BLUE Footer ~~~~~~~~~~~~~~~~~~~~~ */
#footer[data-bs-theme="blue"]{
    background-color: rgb(from var(--bruker-blue) r g b);
    color: white;
}

#footer[data-bs-theme="blue"] a.link,
#footer[data-bs-theme="blue"] a.link:link,
#footer[data-bs-theme="blue"] a.link:visited {
    color: white;
}

#footer[data-bs-theme="blue"] a.link:hover,
#footer[data-bs-theme="blue"] a.link:active,
#footer[data-bs-theme="blue"] a.link:focus {
    text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white;
}

#footer[data-bs-theme="blue"] h2 {
    color: white
}

#footer[data-bs-theme="blue"] .logo {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); /* Or a shorthand equivalent like: filter: brightness(0) invert(1); for simple white inversion */
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */



/* Ensure all footer links have accessible touch targets */
#footer a.link {
    display: inline-block; /* Enables precise sizing */
    min-height: 24px;     /* Minimum tap area height */
    min-width: 24px;      /* Minimum tap area width; auto-expands for text */
    line-height: 1.3;     /* Compact text alignment */
}

/* Social icons or image-based links */
#footer a.link i {
    max-width: 24px;      /* Keep icon visuals compact */
    max-height: 24px;     /* Center within 48x48 tap area */
    vertical-align: middle; /* Align with text links */
}

/* Responsive: Larger targets on smaller screens */
@media (max-width: 480px) {
    #footer a.link {
        min-height: 52px;  /* Slightly larger for tiny screens */
        min-width: 52px;
        padding: 16px 14px;
        margin: 0 12px 12px 0; /* Extra spacing */
    }
    #footer {
        gap: 14px;         /* Adjust container spacing */
        flex-direction: column; /* Stack for very narrow viewports */
        align-items: flex-start; /* Left-align for readability */
    }
}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* custom scrollbar */
::-webkit-scrollbar {
    width: 1em;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 1em;
    border: 0 solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(from var(--bruker-blue) r g b);
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

:where(h1) {
  font-size: 2em;  /* Or your preferred size, e.g., 2.5rem for responsiveness */
  margin-block: 0.67em;  /* Vertical margin; adjust as needed */
  margin-inline: 0;  /* Horizontal margin, if desired */
}
