/* css/global.css */

:root {
  /* Brand blues */
  --c-title: #308dc4; /* Content Titles + Section Titles */
  --c-client-title: #2a88b5; /* Our client Titles */
  --card-bg: #f6f6f8; /* Grayed Cards */

  /* Your palette (from the other image you sent earlier) */
  --c-sky-100: #9be3f9;
  --c-sky-200: #5ec3ea;
  --c-blue-500: #48a0f6;
  --c-blue-800: #1b71a3;
  --c-green-500: #16a34a; /* "after" / validated state, pairs with the blues */

  /* Text */
  --text: #000000; /* headings in that design look basically black */
  --text-muted: #505355; /* body text looks like a dark gray (approx) */

  --bg: #ffffff; /* white background */

  /* Horizontal page column. Every section container uses these two, so all
     content lines up on one grid regardless of viewport. */
  --page-max: 1400px;
  --page-gutter: clamp(1.25rem, 4vw, 4rem);

  /* Vertical rhythm between page sections. Every section applies this as
     padding-block, so the gap between any two is exactly twice this value. */
  --section-space: clamp(2.25rem, 4.5vh, 3.25rem);

  /* Typography */
  --font-main: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
}

[hidden] {
  display: none !important;
}

/* Inter is loaded from Google Fonts in each page <head>.
   The family is set once in --font-main above — never hard-code it. */

body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  padding-top: 90px; /* Space for fixed navbar */
  background: var(--bg);
  color: var(--text);
}

html {
  scroll-padding-top: 100px; /* Offset for anchor links with fixed navbar */
}

/* reusable single line */
.sectionLine {
  width: 100%;
  height: 2px;
  background: #000;
  opacity: 0.12;
  display: flex;
  align-items: center; /* centers the line vertically */
}

/* the actual line */
.sectionLine::before {
  content: "";
  width: 100%;
  height: 2px;
  background: #000;
  opacity: 0.12;
  display: block;
}

.primary-button {
  background-color: var(--c-blue-500);
  color: var(--bg);
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}
.primary-accent-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #4193bd 0%, #80cbe7 100%);
  color: var(--bg);
  border: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(27, 113, 163, 0.25);
}

#bookDemo img,
#bookDemoFooter img{
  width: 1.65rem;
}

#sendresume{
    padding: .5rem 2rem !important;
}

#sendresume img {
    width: 2rem;
    transform: rotate(45deg);
}

.footerLinks {
  width: max-content;
}

main.page-main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sectionHeader2col {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 0 4vw 0rem 4vw;
  border-top: 1px solid #19638e25;
  border-bottom: 1px solid #19638e25;
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
  padding: 2.5rem 8vw;
}

/* left block: bar + title */
.sectionHeaderLeft {
  display: flex;
  align-items: flex-start;
  gap: 18px; /* matches .clientsTitle gap vibe */
}

.f-aligned-items-center {
  display: flex;
  align-items: center;
}

/* IMPORTANT: your .titleBar is already styled in .clientsHeader;
   this makes sure it still works here too */
.titleBar {
  width: 10px;
  height: 90px;
  background: var(--c-blue-500);
  flex: 0 0 auto;
}

/* title */
.sectionHeaderTitle {
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 0.95;
  color: var(--text);
  font-weight: 800;
}

/* blue word */
.blueTitle {
  color: var(--c-blue-800);
}

/* subtitle on the right */
.sectionHeaderSubtitle {
  margin: 0;
  max-width: 30%; /* gives line breaks like your image */
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* responsive stack */
@media (max-width: 900px) {
    .sectionHeader2col{
        flex-direction: row;
        align-items: start;
        padding: .75rem 1rem !important;
    }
    .sectionHeaderSubtitle{
        max-width: 100%;
        display: none;
    }
    .sectionHeaderLeft{
        margin-left: 2rem;
        align-items: center;
    }
}

@media (max-width: 450px) {
    .solutionsHeadline{
    font-size: 2rem !important;
    }
    .heroTitle h3{
        font-size: 1.3rem !important;
        width: 60% !important;
    }
    .sectionHeaderTitle{
        font-size: 1.9rem !important;
    }
    .titleBar{
        height: 70px !important;
    }
}

blue-title{
    color: #1b71a3 !important;
}

/* ===================================================== */
/* Responsive breakpoints                               */
/* ===================================================== */

/* @media (max-width: 1400px) {
    .homeHero {
        align-items: flex-start;
    }
    .sectionTitle.leftTitle {
        width: 65%;
    }
    .clientsDetail {
        width: 75%;
    }
    .clientTextBlock {
        width: 90%;
    }
    .clientsGraphic {
        width: 35%;
        background-size: contain;
    }
    .aboutHero .heroTitle h2 {
        font-size: 2.5rem;
    }
    .featuresList {
        padding: 2.5rem 2.5rem 3rem 3rem;
    }
}

@media (max-width: 1200px) {
    #navbar {
        width: 95%;
    }
    .linksNavbar {
        width: 40%;
    }
    .featuresSolutions {
        flex-direction: column;
        height: auto;
        
    }
    .featuresList,
    .featuresGraphic {
        width: 100%;
    }
    .featuresGraphic img {
        max-width: 480px;
        margin: 0 auto;
        display: block;
    }
    .howItWorksSolutionsGraphic,
    .howItWorksSolutionsSteps {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    #navbar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .logoNavbar,
    .linksNavbar,
    .supportButtonsNavbar {
        width: auto;
    }
    .howItWorksSolutionsGraphic {
        width: 60%;
        margin: 0 auto 2rem auto;
    }
    .howItWorksSolutionsGraphic img {
        transform: none;
        width: 100%;
    }
    .howItWorksSolutionsContainer {
        flex-direction: column;
        gap: 2rem;
    }
    .howItWorksSolutionsSteps {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .hiwStep {
        width: 100%;
    }
    .career-descriptions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .careersSection {
        padding: 3rem 0;
    }
    .foundersTeam {
        grid-template-columns: repeat(2, 1fr);
    }
    .developmentTeam {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .content.contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row.two {
        flex-direction: column;
    }
    .footerInfo {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    .footer-c,
    .footer-r,
    .footer-buttons {
        width: 100%;
        align-items: center;
    }
    .footerLinks ul {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    #navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .logoNavbar,
    .linksNavbar,
    .supportButtonsNavbar {
        width: 100%;
        justify-content: flex-start;
    }
    #navbar ul {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-start;
    }
    .sectionTitle.rightTitle,
    .sectionTitle.leftTitle,
    .sectionTitle.centerTitle {
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }
    .sectionTitle.centerTitle p {
        text-align: left;
    }
    .heroGraphics {
        flex-direction: column;
        gap: 1.5rem;
    }
    .heroGifContainer,
    .heroGifContainer:nth-of-type(2) {
        width: 80%;
        transform: none;
        animation: none;
    }
    .featuresList {
        border-radius: 2rem;
        padding: 2rem;
    }
    .featuresList ul {
        margin-left: 0;
    }
    .aboutValuesContainer {
        grid-template-columns: 1fr;
    }
    .expertiseContainer {
        flex-direction: column;
        gap: 2rem;
    }
    .verticalHR {
        display: none;
    }
    .career-desc {
        padding: 1.5rem 1rem;
    }
    .teamContainer {
        padding: 1rem 0;
    }
}

@media (max-width: 600px) {
    .homeHero .sectionTitle {
        position: relative;
        width: 100%;
        margin-left: 0;
    }
    .featuresList {
        padding: 1.75rem;
    }
    .howItWorksSolutionsGraphic {
        width: 100%;
    }
    .content.contact-grid,
    main.page-main {
        padding: 0 1rem;
    }
    .foundersTeam,
    .developmentTeam {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .contact-wrap {
        margin-top: 6rem;
    }
}

@media (max-width: 480px) {
    #navbar {
        padding: 0.75rem 1rem;
    }
    .logoNavbar img {
        width: 45%;
    }
    .featuresList {
        border-radius: 1.5rem;
    }
    .contact-map iframe.gmap-frame {
        height: 220px;
    }
    main.page-main {
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
  .aboutHero {
    height: auto;              
    align-items: flex-start;   
  }

  .aboutHero .heroTitle {
    width: 100%;               
    align-items: flex-start;
  }

  .aboutHero .heroTitle h2 {
    width: 100%;               
    font-size: 2.2rem;         
  }

  .aboutHero .heroTitle p {
    width: 100%;
    font-size: 1rem;           
  }
}

@media (max-width: 950px){
  .clientsHeader{
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .clientsRadarPlaceholder{
    width: min(420px, 95%);
  }
}
 */

/* css/page-bg.css */
/* ==========================================================================
   Page background layer
   One continuous decorative layer behind the whole page — rings and curves in
   the comp cross section boundaries, so it cannot live inside the sections.
   Purely decorative: no pointer events, hidden from assistive tech.

   Positions are percentages of total page height, so the composition keeps its
   proportions as content changes rather than drifting out of place.
   ========================================================================== */

body.home-page,
body.resources-page {
  position: relative; /* containing block for .pageBg — full document height */
  overflow-x: clip;
}

.pageBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* The pale wash: strongest top and bottom, so white cards read as raised. */
  background:
    linear-gradient(180deg, rgba(233, 243, 250, 0.75) 0%, rgba(255, 255, 255, 0) 18%,
                    rgba(255, 255, 255, 0) 78%, rgba(233, 243, 250, 0.6) 100%);
}

/* Content sits above the layer. Listed explicitly rather than with a child
   selector so the fixed video overlay keeps its own positioning. */
#homeHeroSection,
#whyColosoSection,
#howItWorksSection,
#ourClientsSection,
#benefitsSection,
.ctaBand,
.resourcesHero,
.resourcesSection,
.rdArticle,
.rdBanner,
.rdBody,
.rdNotFound {
  position: relative;
  z-index: 1;
}

/* ---------- Concentric rings ---------- */

.pageBg__rings {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(48, 141, 196, 0.16);
}

.pageBg__rings::before,
.pageBg__rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(48, 141, 196, 0.13);
}

.pageBg__rings::before {
  inset: 11%;
}

.pageBg__rings::after {
  inset: -13%;
  border-color: rgba(48, 141, 196, 0.09);
}

/* The hero's own rings live in .heroBg (home-hero.css) — a second family here
   read as clutter behind the same copy. */

/* Very large arc behind Why Coloso — only its shoulders are visible. */
.pageBg__rings--why {
  width: 72rem;
  height: 72rem;
  left: 50%;
  translate: -50% 0;
  top: 17%;
  border-color: rgba(48, 141, 196, 0.11);
}

.pageBg__rings--why::before {
  inset: 7%;
}

.pageBg__rings--why::after {
  inset: -8%;
}

/* ---------- Contour curves along the margins ---------- */

.pageBg__curves {
  position: absolute;
  width: 26rem;
  height: 44%;
  overflow: visible;
}

.pageBg__curves path {
  fill: none;
  stroke: rgba(48, 141, 196, 0.16);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.pageBg__curves circle {
  fill: rgba(48, 141, 196, 0.3);
}

.pageBg__curves--left {
  left: -6rem;
  top: 27%;
}

.pageBg__curves--right {
  right: -6rem;
  top: 22%;
  transform: scaleX(-1);
}

/* ---------- Dot matrices ---------- */

.pageBg__grid {
  position: absolute;
  background-image: radial-gradient(rgba(48, 141, 196, 0.3) 1.3px, transparent 1.4px);
  background-size: 17px 17px;
}

/* Tucked into the corner: the hero graphic fills the right column, and a
   larger patch reads as noise between its cards rather than as texture. */
.pageBg__grid--heroRight {
  width: 9rem;
  height: 9rem;
  right: -1%;
  top: 1.5%;
  opacity: 0.38;
}

.pageBg__grid--clients {
  width: 9rem;
  height: 11rem;
  right: 3%;
  top: 55%;
  opacity: 0.55;
}

.pageBg__grid--benefits {
  width: 8rem;
  height: 9rem;
  right: 6%;
  top: 71%;
  opacity: 0.45;
}

.pageBg__grid--cta {
  width: 8rem;
  height: 8rem;
  left: 2%;
  bottom: 7%;
  opacity: 0.5;
}

/* ---------- Loose accent dots ---------- */

.pageBg__dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(48, 141, 196, 0.28);
}

.pageBg__dot--1 { left: 17%; top: 9%; }
.pageBg__dot--2 { right: 21%; top: 25%; width: 6px; height: 6px; }
.pageBg__dot--3 { left: 8%;  top: 39%; }
.pageBg__dot--4 { right: 12%; top: 47%; width: 6px; height: 6px; }
.pageBg__dot--5 { left: 21%; top: 63%; width: 7px; height: 7px; }
.pageBg__dot--6 { right: 26%; bottom: 12%; }

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
  /* Keep the wash and the dot fields; the large geometry crowds a narrow page. */
  .pageBg__rings,
  .pageBg__curves,
  .pageBg__grid--benefits,
  .pageBg__dot {
    display: none;
  }

  .pageBg__grid--heroRight,
  .pageBg__grid--clients,
  .pageBg__grid--cta {
    width: 6rem;
    height: 7rem;
    opacity: 0.4;
  }
}

/* css/resources.css */
/* ============================================================
 *  Resources page styles (listing + detail)
 *  Reuses tokens from global.css.
 * ============================================================ */

/* ---------- Listing page wash / rings sit closer to the short hero ---------- */
body.resources-page .pageBg__rings--why {
  top: 4%;
  width: 56rem;
  height: 56rem;
}

/* ---------- Hero ---------- */
.resourcesHero {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.25rem, 5.5vh, 4rem) var(--page-gutter) var(--section-space);
  background: transparent;
}

.resourcesHero__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.resourcesHero h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.11;
  letter-spacing: -0.03em;
  margin: 0 auto 1.1rem;
  color: var(--text);
  max-width: 18ch;
  text-wrap: balance;
}

.resourcesHero h1 .accent {
  display: inline;
  color: var(--c-title);
  background: none;
  padding: 0;
}

.resourcesHero p {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  font-style: normal;
}

/* ---------- Tabs ---------- */
.resourcesSection {
  background: transparent;
  padding: 0 0 var(--section-space);
}

.resourcesSection__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter) var(--section-space);
}

.resTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
  padding: 0.4rem;
  border: 1px solid rgba(48, 141, 196, 0.14);
  border-radius: 26px;
  background: linear-gradient(180deg, #f7fafd 0%, #f2f6fb 100%);
}

.resTab {
  position: relative;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  letter-spacing: -0.01em;
}

.resTab:hover:not(.is-disabled) {
  color: var(--text);
}

.resTab.is-active {
  color: var(--c-title);
  background: #fff;
  box-shadow: 0 2px 4px rgba(15, 43, 61, 0.05), 0 8px 18px rgba(15, 43, 61, 0.08);
}

.resTab.is-disabled {
  color: #9aa0a6;
  cursor: not-allowed;
}

.resTabHint {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(48, 141, 196, 0.08);
  color: var(--c-title);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

/* ---------- Grid ---------- */
.resGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.5vw, 1.75rem);
}

@media (max-width: 960px) {
  .resGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .resGrid { grid-template-columns: minmax(0, 1fr); }

  .resourcesHero h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .resourcesHero p {
    max-width: none;
  }
}

/* ---------- Card ---------- */
.resCard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(48, 141, 196, 0.14);
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.resCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(27, 113, 163, 0.12), 0 16px 36px rgba(15, 43, 61, 0.08);
  border-color: rgba(48, 141, 196, 0.28);
}

.resCardMedia {
  aspect-ratio: 16 / 10;
  background: var(--card-bg);
  overflow: hidden;
}

.resCardMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.resCard:hover .resCardMedia img {
  transform: scale(1.04);
}

.resCardBody {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.resCardMeta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.resCardChip {
  background: rgba(48, 141, 196, 0.10);
  color: var(--c-title);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  border: 1px solid rgba(48, 141, 196, 0.18);
}

.resCardTitle {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: var(--text);
}

.resCardExcerpt {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resCardCta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(90deg, #4193bd 0%, #80cbe7 100%);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(27, 113, 163, 0.25);
}

.resCard:hover .resCardCta {
  box-shadow: 0 14px 26px rgba(27, 113, 163, 0.32);
}

/* ---------- External post card (LinkedIn) ---------- */
/* LinkedIn graphics are square; show them whole instead of cropping to 16:10. */
.resCard--external .resCardMedia {
  aspect-ratio: 1 / 1;
}

.resCard--external .resCardChip {
  background: rgba(10, 102, 194, 0.12);
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.22);
}

.resCard--external .resCardCta {
  background: #0a66c2;
  box-shadow: 0 10px 20px rgba(10, 102, 194, 0.25);
}

.resCard--external:hover .resCardCta {
  box-shadow: 0 14px 26px rgba(10, 102, 194, 0.32);
}

/* ---------- Video resource ---------- */
.resVideoPanel {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  background: linear-gradient(180deg, #f7fafd 0%, #f2f6fb 100%);
  border: 1px solid rgba(48, 141, 196, 0.14);
  border-radius: 26px;
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

.resVideoFrame {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  overflow: hidden;
  border-radius: 20px;
  background: #0d1b2a;
  box-shadow: 0 12px 28px rgba(15, 43, 61, 0.12);
}

.resVideoFrame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.resVideoBody {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.55rem 1rem 0.55rem 0.2rem;
}

.resVideoTitle {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.resVideoLead {
  margin: 0;
  max-width: 42ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
}

.resVideoExcerpt {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .resVideoPanel {
    grid-template-columns: 1fr;
    padding: 0.9rem;
    gap: 1.15rem;
  }

  .resVideoFrame {
    min-height: 190px;
  }

  .resVideoBody {
    padding: 0.15rem 0.35rem 0.5rem;
  }
}

/* ---------- Empty state ---------- */
.resEmpty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px solid rgba(48, 141, 196, 0.14);
  border-radius: 26px;
  background: linear-gradient(180deg, #f7fafd 0%, #f2f6fb 100%);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

/* ============================================================
 *  Detail page
 * ============================================================ */

.rdArticle {
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: none;
}

#rdArticleHost {
  display: block;
  width: 100%;
}

.rdBanner {
  width: 100%;
  box-sizing: border-box;
  position: relative;
  padding: clamp(2rem, 4.5vh, 3.25rem) var(--page-gutter) 1.25rem;
  background: transparent;
}

.rdBanner__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
}

.rdBanner__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.rdBanner__chip,
.rdEyebrow,
.rdCtaEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(94, 195, 234, 0.16);
  color: var(--c-blue-800);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
  text-transform: none;
  border: 0;
}

.rdBanner__chip::before,
.rdEyebrow::before,
.rdCtaEyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--c-blue-500);
}

.rdBanner__metaItem {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.rdBanner__title,
.rdHeroTitle,
.rdSectionTitle,
.rdCtaTitle {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.rdBanner__title {
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
  max-width: 28ch;
  text-wrap: balance;
}

.rdBanner__hl {
  color: var(--c-blue-800);
  background: none;
  padding: 0;
}

.rdBanner__lead {
  margin: 1.15rem 0 0;
  max-width: 72ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
}

.rdBack {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(72, 160, 246, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.rdBack:hover {
  color: var(--c-blue-800);
  text-decoration-color: var(--c-blue-500);
}

.rdBody {
  width: 100%;
  background: transparent;
}

.rdShell {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4.5vh, 3.5rem);
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem var(--page-gutter) 5rem;
}

.rdEyebrow {
  margin: 0 0 0.85rem;
  max-width: 100%;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
}

.rdHeroStage,
.rdSection,
.rdProblemSection,
.rdResultsSection,
.rdClosingSection,
.rdCTASection {
  max-width: none;
  width: 100%;
  padding-top: 0;
}

.rdHeroStage {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.rdHeroCopy {
  padding: 0.25rem 0;
}

.rdHeroTitle {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  margin-bottom: 0.85rem;
}

.rdSectionTitle {
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  margin-bottom: 0.85rem;
}

.rdBodyCopy {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.rdBodyCopy p {
  margin: 0 0 1rem;
}

.rdBodyCopy p:last-child {
  margin-bottom: 0;
}

.rdBodyCopy ul,
.rdBodyCopy ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.rdBodyCopy li {
  margin-bottom: 0.45rem;
}

.rdBodyLead {
  max-width: none;
}

.rdHero {
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-bg);
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(48, 141, 196, 0.11);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

.rdHero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rdHeroFigure,
.rdHeroImage {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(48, 141, 196, 0.11);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
  width: 100%;
}

.rdHeroFigure img {
  width: 100%;
  height: auto;
  display: block;
}

.rdHeroImage .resVideoFrame {
  width: 100%;
  border-radius: 14px;
}

.rdBottleneckGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.rdBottleneckCard,
.rdStepCard {
  background: #fff;
  border: 1px solid rgba(48, 141, 196, 0.11);
  border-radius: 14px;
  padding: 1.25rem 1.2rem 1.1rem;
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

.rdBottleneckCard:hover,
.rdStepCard:hover {
  transform: none;
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
  border-color: rgba(48, 141, 196, 0.11);
}

.rdBottleneckCard h3,
.rdStepCard h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--c-title);
}

.rdBottleneckCard ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.rdHighlight {
  margin: 1.5rem 0 0;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(48, 141, 196, 0.14);
  border-left: 4px solid var(--c-blue-500);
  background: linear-gradient(180deg, #f7fafd 0%, #f2f6fb 100%);
  border-radius: 0 14px 14px 0;
  color: var(--text);
  font-weight: 700;
}

.rdSteps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.rdStepNumber {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--c-blue-500);
  margin-bottom: 0.85rem;
}

.rdStepCard p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.rdGraphicFigure,
.rdImpactFigure {
  margin: 1.5rem auto 0;
  max-width: 100%;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid rgba(48, 141, 196, 0.11);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

.rdGraphicLabel {
  margin: 0 0 0.7rem;
  color: var(--c-blue-800);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.rdGraphicFigure img,
.rdImpactFigure img {
  width: 100%;
  display: block;
}

.rdResultsTableWrap {
  margin-top: 1rem;
  border: 1px solid rgba(48, 141, 196, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

.rdResultsTable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.rdResultsTable thead th {
  background: linear-gradient(180deg, #f7fafd 0%, #f2f6fb 100%);
  color: #12303f;
  padding: 0.95rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.rdResultsTable tbody th,
.rdResultsTable tbody td {
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(48, 141, 196, 0.12);
  text-align: center;
  color: var(--text-muted);
}

.rdResultsTable tbody th {
  text-align: left;
  color: var(--text);
  font-weight: 700;
  width: 44%;
}

.rdResultsTable tbody tr:nth-child(even) {
  background: rgba(247, 250, 253, 0.7);
}

.rdAnnualImpact {
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.rdQuoteCard {
  margin-top: 1.5rem;
  padding: 1.5rem 1.6rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fafd 0%, #f2f6fb 100%);
  border: 1px solid rgba(48, 141, 196, 0.14);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

.rdQuote {
  margin: 0;
  font-style: italic;
  color: var(--text);
  font-weight: 400;
  line-height: 1.7;
  font-size: 1.05rem;
}

.rdQuoteSource {
  margin: 0.85rem 0 0;
  color: var(--c-blue-800);
  font-weight: 700;
}

.rdClosingSection .rdBodyCopy {
  max-width: none;
}

.rdCta {
  margin-top: 0;
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(115deg, #f7fafd 0%, #eef5fa 55%, #f4f9fc 100%);
  border: 1px solid rgba(48, 141, 196, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.rdCta h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.rdCtaCard {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 2.15rem 2.25rem;
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 82% 30%, rgba(94, 195, 234, 0.16) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(115deg, #f7fafd 0%, #eef5fa 55%, #f4f9fc 100%);
  border: 1px solid rgba(48, 141, 196, 0.14);
  box-shadow: 0 1px 2px rgba(15, 43, 61, 0.04), 0 12px 28px rgba(15, 43, 61, 0.06);
}

.rdCtaCard::before {
  content: none;
}

.rdCtaEyebrow {
  position: relative;
  margin: 0 0 0.85rem;
}

.rdCtaTitle {
  position: relative;
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.rdCtaBody {
  position: relative;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  max-width: 46ch;
}

.rdCtaButton {
  position: relative;
  text-decoration: none;
}

.rdNotFound {
  max-width: 680px;
  margin: 0 auto;
  padding: 5rem var(--page-gutter);
  text-align: center;
}
.rdNotFound h1 { font-size: 1.75rem; margin: 0 0 0.75rem; color: var(--text); }
.rdNotFound p { color: var(--text-muted); margin: 0 0 1.5rem; }

@media (max-width: 1100px) {
  .rdSteps,
  .rdBottleneckGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .rdBanner {
    padding: 1.75rem var(--page-gutter) 1rem;
  }

  .rdBanner__title {
    max-width: none;
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    line-height: 1.18;
  }

  .rdBanner__lead {
    max-width: none;
    font-size: 1rem;
  }

  .rdShell {
    padding: 0.5rem var(--page-gutter) 3.5rem;
    gap: 2.25rem;
  }

  .rdCtaCard {
    padding: 1.5rem 1.25rem;
  }

  .rdSteps,
  .rdBottleneckGrid {
    grid-template-columns: 1fr;
  }

  .rdResultsTable thead th,
  .rdResultsTable tbody th,
  .rdResultsTable tbody td {
    padding: 0.8rem 0.75rem;
    font-size: 0.92rem;
  }
}

/* css/footer.css */
/* =========================
   FOOTER
   ========================= */

footer {
  width: 100%;
  margin-top: 4rem;
  background: transparent;
  color: var(--text);
}

.footerInfo {
  width: 100%;
  margin: 0;
  padding: 3rem clamp(1.5rem, 6vw, 5rem) 2rem;
  border-radius: 0;
  background: #f3f5f7;
  box-shadow: none;
  filter: none;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

/* TOP ROW: 4 columns */
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* col 1: brand */
.footer-c {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-c .footer-brand img {
  width: 220px;
  margin: 0;
}

.footer-c p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

.footer-c .primary-accent-button {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* link columns */
.footerLinks h4,
.footer-contact h4 {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.footerLinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.footerLinks a {
  text-decoration: none;
  color: #2a8fd0;
  font-weight: 500;
  font-size: 0.95rem;
}

.footerLinks a:hover {
  text-decoration: underline;
}

/* col 4: contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footerData {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.footerData img {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footerSocials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.footerSocials a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #cbd5dd;
  background: #fff;
  color: #2a8fd0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footerSocials a:hover {
  background: #eaf2fc;
  border-color: #2a8fd0;
  transform: translateY(-1px);
}

/* DIVIDER */
.footer-divider {
  border: none;
  border-top: 1px solid #d8dde2;
  margin: 2.5rem 0 1.25rem;
}

/* BOTTOM ROW */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom-row p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.patent-badge {
  height: auto;
  width: 140px;
  max-width: 100%;
  display: block;
}

.footer-badge {
  margin: 0;
  flex-shrink: 0;
}

.cookie-preferences-link {
  border: 0;
  background: transparent;
  color: #236ea3;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 24px));
  background: #ffffff;
  border: 1px solid #d7e0e8;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(18, 47, 73, 0.2);
  padding: 1rem 1.1rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1rem;
}

/* Ensure hidden elements are strictly hidden and do not override display */
.cookie-consent[hidden],
.cookie-consent__groups[hidden],
.cookie-consent__btn[hidden],
[hidden] {
  display: none !important;
}

.cookie-consent.is-visible {
  animation: cookieSlideUp 0.25s ease-out;
}

.cookie-consent__text {
  margin: 0;
  color: #1c364a;
  font-size: 0.94rem;
  line-height: 1.5;
}

.cookie-consent__text a {
  color: #1a79b8;
  font-weight: 600;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent__groups {
  display: grid;
  gap: 0.6rem;
}

.cookie-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #d7e0e8;
  border-radius: 10px;
  background: #f8fbfd;
}

.cookie-toggle__text {
  display: grid;
  gap: 0.15rem;
}

.cookie-toggle__text strong {
  color: #17364a;
  font-size: 0.92rem;
}

.cookie-toggle__text small {
  color: #4e6575;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cookie-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1f7bb8;
  cursor: pointer;
}

.cookie-toggle--locked {
  background: #f1f4f7;
}

.cookie-toggle--locked input[type="checkbox"] {
  cursor: not-allowed;
}

.cookie-consent__btn {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.56rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-consent__btn--primary {
  background: #1f7bb8;
  border-color: #1f7bb8;
  color: #ffffff;
}

.cookie-consent__btn--secondary {
  background: #f4f7fa;
  border-color: #c3d1dc;
  color: #1b3b52;
}

.cookie-consent__btn--neutral {
  background: #ffffff;
  border-color: #9eb4c5;
  color: #1f567a;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* legacy hides */
.footerGraphic { display: none; }
.footerCopyright { display: none; }

.footerInfo__soc2-badge {
  width: 7rem;
  position: absolute;
  right: 30px;
  top: 14px;
  opacity: .65;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-c {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footerInfo {
    padding: 2.5rem 1.25rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-consent {
    width: calc(100% - 16px);
    bottom: 8px;
    padding: 0.85rem;
    align-items: stretch;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-consent__btn {
    flex: 1;
  }

  .cookie-toggle {
    grid-template-columns: 1fr;
  }
}

/* css/navbar.css */
/* NAVBAR CONTAINER */
:root{
  --navbar-height: 80px;
}

#navbar{
  position: fixed;
  display: flex;
  justify-content: space-evenly;
  align-items: center;

  width: 100%;
  top: 0;
  padding: 1rem 0;

  background: rgba(255, 255, 255, 0.10);
  border-radius: 0;        
  /* box-shadow: 0 4px 30px rgba(10, 10, 10, 0.20);  */
  backdrop-filter: blur(14.8px);
  -webkit-backdrop-filter: blur(14.8px);
  border-bottom: 1px solid rgba(15, 94, 139, 0.10);

  z-index: 999;
}

/* LOGO */
.logoNavbar{
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logoNavbar img{
  width: 55%;
}

/* LINKS */
.linksNavbar{
  /* Six page links at 1.1rem need ~410px plus gaps; 30% was too narrow
     below ~1400px and the labels ran together. */
  width: 44%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar ul{
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1.25rem);

  width: 100%;
  max-width: 720px;
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
}

#navbar li{
  padding: 0;
  position: relative;
}

/* Hover sections dropdown (desktop navbar only) */
#navbar .linksNavbar li .sectionsMenu{
  display: none;
  position: absolute;
  top: 100%;
  /* Left-aligned with the link text: pull back by the menu padding plus
     the item padding so the first item's text lines up with the link. */
  left: calc(-0.5rem - 0.75rem);
  transform: none;

  min-width: 200px;
  padding: 0.5rem;

  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(15, 94, 139, 0.10);
  border-radius: 12px;

  backdrop-filter: blur(14.8px);
  -webkit-backdrop-filter: blur(14.8px);

  z-index: 2000;
}

/* JS-controlled close state (used after clicking a section on the same page) */
#navbar .linksNavbar li.sectionsMenuForceClosed .sectionsMenu{
  display: none !important;
}

/* Invisible hover-bridge so moving from link -> menu doesn't drop :hover */
#navbar .linksNavbar li .sectionsMenu::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

#navbar .linksNavbar li:hover .sectionsMenu,
#navbar .linksNavbar li:focus-within .sectionsMenu{
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* If hover is briefly lost on the parent li, keep menu open while hovering it */
#navbar .linksNavbar li .sectionsMenu:hover{
  display: flex;
  flex-direction: column;
}

#navbar .linksNavbar li .sectionsMenuItem{
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 500;
  white-space: nowrap;
}

#navbar .linksNavbar li .sectionsMenuItem:hover{
  background: rgba(255, 255, 255, 0.08);
}

/* NORMAL LINKS (NO PILL) */
#navbar li a{
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  /* padding: 8px 16px; */
  border-radius: 999px;
  transition: color .15s ease;
}

/* ACTIVE PAGE ONLY (THE BUBBLE) */
/* ACTIVE PAGE ONLY (underline) */
#navbar li.active a{
  background: transparent;
  border: none;
  box-shadow: none;

  color: var(--text);
  border-radius: 0;

  position: relative;
}

/* underline */
#navbar li.active a:not(.sectionsMenuItem)::after{
  content: "";
  position: absolute;
  left: -5px;      /* matches your link padding */
  right: -5px;     /* matches your link padding */
  bottom: -6px;    /* distance under text */
  height: 5px;
  /* border-radius: 999px; */
  background: #2a88b5; /* your blue */
}

.linksNavbarMenu{
  display: none;
}

#navbar .mobile-careers-link{
  display: none;
}

.hidden{
  display: none !important;
}

.linksNavbarMenu{
  width: 10%;
  position: relative;
}

#hamburgerBtn{
  background-color: #ffffff;
  border: 1px solid rgba(157, 157, 157, 0.25);
  border-radius: .015rem;
}

/* HAMBURGER ICON LINES */
#hamburgerBtn svg rect{
  fill: rgb(157, 157, 157);
  transition: fill .15s ease;
}

#mobileMenu{
  background: rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12.4px);
  -webkit-backdrop-filter: blur(12.4px);
  padding: .5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  left: 0;
  top: 0;
  z-index: 1000;
}

/* Controlled by JS via the `hidden` attribute */
#mobileMenu[hidden]{
  display: none;
}

#mobileMenu ul{
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  width: 40%;
  padding: 2rem 1rem;
}

#mobileMenu li{
  width: 100%;
  text-align: right;
  padding: 2rem;
  position: relative;
}
#mobileMenu li::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(15,94,139,0) 0%, rgba(15,94,139,0.335) 100%);
  pointer-events: none;
}


#mobileMenu ul a{
  text-decoration: none;
  color: var(--text);
}

@media (max-width: 450px) or (max-width: 1100px) {
  :root{
    --navbar-height: 72px;
  }

  #navbar{
    justify-content: space-between;
    width: 100% !important;
    display: flex;
  }
  .logoNavbar{
    margin-left: 1rem;
  }
  .logoNavbar{
    width: 40%;
  }
  .linksNavbarMenu{
    position: relative;
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .supportButtonsNavbar{
    display: none;
  }
  .linksNavbar{
    display: none !important;
  }
  .linksNavbarMenu{
    display: flex;
  }
}
