   /* ===========================
   XTRU Global Styles
   =========================== */
/* ===========================
   1-XTRU Universal Layout
   =========================== */

/* A) Normal content width (use on body Containers, NOT on hero) */
.xtru-content {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;                /* centers */
  padding-inline: clamp(16px, 3vw, 28px);
  box-sizing: border-box;
}

/* B) Readable longform text */
.xtru-readable p,
.xtru-readable li {
  max-width: 68ch;
  margin-inline: auto;
}

/* C) Full-bleed sections (hero banners, wide CTAs) */
.xtru-bleed {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

 /* ======================
   FIX: HERO TEXT OFF-SCREEN ON MOBILE
   ====================== */
.xtru-hero-inner,
.xtru-hero-center {
  max-width: min(100%, 1100px) !important;
  margin-inline: auto !important;
  padding-inline: clamp(16px, 4vw, 36px) !important;
  overflow-x: clip !important;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .xtru-hero-inner,
  .xtru-hero-center {
    max-width: 100% !important;
    padding-inline: 20px !important;
  }

  /* Hero text elements */
  .xtru-hero-inner h1,
  .xtru-hero-inner p,
  .xtru-hero-center h1,
  .xtru-hero-center p {
    text-align: center !important;
    margin-inline: auto !important;
  }
}
/* HERO center layout fix */
.xtru-hero-center {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  padding-inline: clamp(16px, 4vw, 36px);
  box-sizing: border-box;
}
/* E) Media safety */
.xtru-content img,
.xtru-content table,
.xtru-content pre,
.xtru-content code {
  max-width: 100%;
  overflow-wrap: anywhere;
}
/* ===== Hard safety for readable content ===== */

/* 1) Ensure content never exceeds viewport width */
.xtru-content {
  /* Use viewport-constrained max width so it can't overflow on any nesting */
  max-width: min(1100px, 100vw - clamp(32px, 6vw, 56px));
  margin-inline: auto !important;
}

/* 2) Make the actual long-form text a centered column inside the content */
.xtru-readable {
  /* Constrain the text column itself (headings + paragraphs + lists) */
  max-width: 68ch;
  margin-inline: auto !important;
}
.xtru-readable p,
.xtru-readable li {
  max-width: none;   /* let the wrapper control the width */
  margin-inline: 0;  /* remove per-paragraph auto-centering */
}

/* 3) Kill any sneaky horizontal overflow from children */
.xtru-content > * {
  max-width: 100%;
  overflow-x: clip;       /* modern, safe overflow cut */
}

/* 4) If this page still has the old case-study scope, normalize it */
.xtru-case-study .brxe-container {
  width: 100%;
  max-width: min(1100px, 100vw - clamp(32px, 6vw, 56px));
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 28px);
  box-sizing: border-box;
}

/* ===========================
   2-HEADER
   =========================== */
.xtru-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9998;
  padding: 0.75rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
body.scrolled .xtru-header {
  background: rgba(0, 0, 0, 0.95);
  padding: 0.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Logo */
.xtru-logo img {
  height: 42px;
  max-width: 150px;
  transition: all 0.3s ease;
}
body.scrolled .xtru-logo img {
  height: 32px;
  max-width: 120px;
}

/* ===========================
  3- NAVIGATION LINKS
   =========================== */
.fr-nav-alpha.brxe-nav-menu .bricks-nav-menu > li > a {
  position: relative;
  color: #00c4ff !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.fr-nav-alpha.brxe-nav-menu .bricks-nav-menu > li > a:hover {
  color: #6c63ff !important;
}
.fr-nav-alpha.brxe-nav-menu .bricks-nav-menu > li.current-menu-item > a {
  color: #ffffff !important;
  text-shadow: 0 0 6px rgba(0,196,255,0.5);
}
/* Underline animation */
.fr-nav-alpha.brxe-nav-menu .bricks-nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00c4ff, #6c63ff);
  transition: width 0.3s ease;
}
.fr-nav-alpha.brxe-nav-menu .bricks-nav-menu > li > a:hover::after,
.fr-nav-alpha.brxe-nav-menu .bricks-nav-menu > li.current-menu-item > a::after {
  width: 100%;
}
 
/* ===========================
  5- STICKY HEADER OFFSET
   =========================== */
body, #brx-content { padding-top: 50px; }
body.scrolled, body.scrolled #brx-content { padding-top: 55px; }

.admin-bar .xtru-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .xtru-header { top: 32px; }
}
#brx-content {
  background-color: #000;
}

/* ===========================
  6- FOOTER
   =========================== */
.xtru-footer {
  background: #000;
  color: #fff;
  padding: 3rem 2rem;
}
.xtru-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.xtru-footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #fff;
}
.xtru-footer a {
  color: #00c4ff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.xtru-footer a:hover {
  color: #6c63ff;
}

/* Footer Social Icons */
.xtru-social {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}
.xtru-social a {
  color: #fff;
  background: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 6px;
}
.xtru-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor !important;
}
.xtru-social a:hover {
  color: #6c63ff;
  box-shadow: 0 0 12px rgba(108,99,255,0.9),
              0 0 24px rgba(108,99,255,0.6),
              0 0 36px rgba(0,196,255,0.4);
  border-radius: 50%;
  transform: scale(1.1);
}

/* Footer Bottom Bar */
.xtru-footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 2rem;
}

/* Responsive Footer */
@media (max-width: 991px) {
  .xtru-footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .xtru-footer-columns {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .xtru-footer .brxe-block {
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Force Copyright Center */
.xtru-footer-bottom,
.xtru-footer-bottom * {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
}

/* ===========================
 7-  LEGAL NAV
   =========================== */
.xtru-legal-nav a {
  color: #aaa;
  margin: 0 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.xtru-legal-nav a:hover {
  color: #00c4ff;
  text-shadow: 0 0 6px rgba(108,99,255,0.6);
}

/* ===========================
 9-  HERO
   =========================== */
.xtru-hero {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (max-width: 991px) {
  .xtru-hero { padding-top: 50px; padding-bottom: 50px; }
}
@media (max-width: 767px) {
  .xtru-hero { padding-top: 40px; padding-bottom: 40px; }
}
.xtru-hero.legal-hero {
  padding-top: 40px;
  padding-bottom: 60px;
}
.xtru-hero-gradient {
  background: linear-gradient(180deg, var(--clr-dark-800), var(--clr-dark-900)) !important;
}
/* Flexible Hero Layout for Consistent Alignment */
.xtru-hero-content {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
  box-sizing: border-box;
  text-align: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .xtru-hero-content {
    padding-inline: 16px;
    text-align: center;
  }
}
/* HERO FIX - better mobile padding */
.xtru-hero-content {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
  box-sizing: border-box;
  text-align: center;
}
@media (max-width: 768px) {
  .xtru-hero-content {
    padding-inline: 20px; /* prevents text hugging edges */
  }
}

/* CARD GRID - better mobile spacing */
.xtru-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 600px) {
  .xtru-card-grid {
    gap: 1.5rem;
  }
}

/* CARD SPACING - consistent vertical rhythm */
.xtru-card {
  padding: 24px 18px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.35s ease;
}

/* Practical Outcomes spacing */
.xtru-outcomes {
  margin-top: 4rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .xtru-outcomes {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
}


/* ===========================
 13-  MOBILE MENU (original working version)
   =========================== */
.brxe-nav-menu .bricks-mobile-menu-wrapper {
  position: absolute !important;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9997;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.brxe-nav-menu .bricks-mobile-menu-wrapper ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.brxe-nav-menu .bricks-mobile-menu-wrapper ul li {
  margin: 0.75rem 0;
}
.brxe-nav-menu .bricks-mobile-menu-wrapper ul li a {
  color: #00c4ff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.brxe-nav-menu .bricks-mobile-menu-wrapper ul li a:hover {
  color: #6c63ff;
}
.brxe-nav-menu .bricks-mobile-menu-wrapper:before {
  display: none !important;
}
@media (min-width: 992px) {
  .brxe-nav-menu .bricks-mobile-menu-wrapper { display: none !important; }
}

/* Mobile Toggle (hamburger) */
.brxe-nav-menu .bricks-mobile-menu-toggle {
  background: #000 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 9999 !important;
}
.brxe-nav-menu .bricks-mobile-menu-toggle .bar-top,
.brxe-nav-menu .bricks-mobile-menu-toggle .bar-center,
.brxe-nav-menu .bricks-mobile-menu-toggle .bar-bottom {
  background: #fff !important;
  height: 3px !important;
  width: 28px !important;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.brxe-nav-menu .bricks-mobile-menu-toggle .bar-center {
  margin: 5px 0;
}
.brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle .bar-top,
.brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle .bar-center,
.brxe-nav-menu.show-mobile-menu .bricks-mobile-menu-toggle .bar-bottom {
  background: #fff !important;
  height: 3.5px !important;
}
@media (min-width: 992px) {
  .brxe-nav-menu .bricks-mobile-menu-toggle {
    display: none !important;
  }
}
 

/* ===========================
 14-  FAQ PAGE - Section Layout
   =========================== */

/* Wrapper for each category section */
.xtru-faq-section {
  padding: 50px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Reduce spacing on last section */
.xtru-faq-section:last-of-type {
  border-bottom: none;
  padding-bottom: 30px;
}

/* Category Headings (General, Pricing, etc.) */
.xtru-faq-section > h2,
.xtru-faq-section > h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
  position: relative;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(0,196,255,0.12),
    rgba(108,99,255,0.12)
  );
  box-shadow: 0 0 12px rgba(0,196,255,0.25),
              0 0 20px rgba(108,99,255,0.15);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .xtru-faq-section { padding: 35px 0; }
  .xtru-faq-section > h2,
  .xtru-faq-section > h3 {
    font-size: 20px;
    padding: 5px 10px;
    margin-bottom: 20px;
  }
}
/* ===========================
16-   XTRU Card Grid Layout
   =========================== */
.xtru-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 991px) {
  .xtru-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .xtru-card-grid {
    grid-template-columns: 1fr;
  }
}
/* CTA Card Grid (2 cards, equal height) */
.xtru-card-grid-cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch; /* ✅ equal height */
  gap: 2rem;
  justify-items: center;
}

/* ===========================
17-   XTRU Case Study Styling
   =========================== */

/* Subheadings (H3s inside case study content) */
.xtru-case h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-align: left;
  position: relative;
}

/* Cinematic glow underline */
.xtru-case h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, #00c4ff, #6c63ff);
  box-shadow: 0 0 8px rgba(0,196,255,0.7), 0 0 14px rgba(108,99,255,0.5);
  border-radius: 2px;
}

/* Body text inside case studies */
.xtru-case p {
  font-size: 16px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 1rem;
  word-wrap: break-word;
  max-width: 100%;
}

/* Bullet points */
.xtru-case ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}
.xtru-case ul li {
  margin-bottom: 0.5rem;
  color: #ccc;
  word-wrap: break-word;
  max-width: 100%;
}

/* Highlighted strong text */
.xtru-case strong {
  color: #00c4ff;
  font-weight: 600;
}

/* CTA section */
.xtru-case .xtru-cta-section {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}
.xtru-case .xtru-cta-section h3 {
  font-size: 22px;
  margin-bottom: 1rem;
  text-align: center;
  color: #fff;
}
.xtru-case .xtru-cta {
  background: linear-gradient(90deg, #00c4ff, #6c63ff);
  color: #fff !important;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0,196,255,0.4);
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}
.xtru-case .xtru-cta:hover {
  opacity: 0.9;
  box-shadow: 0 0 12px rgba(0,196,255,0.6),
              0 0 20px rgba(108,99,255,0.4);
}

/* Container width */
.xtru-case-study .brxe-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* Case Study Grid Fix */
.xtru-case-study .brxe-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* ✅ force equal column heights */
}

/* Make sure each case card fills its column */
.xtru-case {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* ✅ equal height fix */
  box-sizing: border-box;
}
/* ===========================
   WORKFLOW GRID STRUCTURE
   =========================== */
.xtru-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 991px) {
  .xtru-workflow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .xtru-workflow-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
/* ======================
   HERO RESPONSIVE FIX
   ====================== */
.xtru-hero-center {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  padding-inline: clamp(16px, 4vw, 36px);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .xtru-hero-center {
    padding-inline: 24px !important; /* keep text away from screen edge */
    text-align: center;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .xtru-hero-center h1,
  .xtru-hero-center p {
    text-align: center;
    margin-inline: auto;
  }

  /* if a column or container inside hero causes overflow */
  .xtru-hero-center > * {
    max-width: 100%;
    overflow-x: hidden;
  }
}
/* ===========================
   CASE STUDY CTA GRID FIX (SCOPED)
   =========================== */

/* ✅ Only target bottom CTA sections, not the 4-column workflow grid */
.xtru-case-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* makes all cards equal height */
  gap: 2rem;
}

/* ✅ Each CTA card stays evenly sized */
.xtru-case {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}
/* Ensure all cards center their text, regardless of Bricks wrappers */
 
.xtru-card.brxe-block {
  text-align: center !important;
  margin-inline: auto;
}
 
.xtru-codeblock {
  background: rgba(15, 20, 25, 0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: #00ffe1;
  line-height: 1.5;
  box-shadow: inset 0 0 10px rgba(0,255,225,0.05);
}
 