      :root {
    --mars-red:   #b12918;
    --bg-dark:    #1A1A1A;
    --text-light: #EEE;
    --text-pale:  #F7E8C6;
  }

  /* GLOBAL */
  body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(to bottom, #171314, var(--bg-dark));
  }

  h1,h2,h3 {
    font-family: 'Inter', sans-serif;
    color: #fff;
    line-height: 1.2;
    letter-spacing: .02em;
    margin-bottom: .75rem;
  }

  /* NAV */
  .navbar { background: transparent; }
  .navbar.is-fixed-top {
    position: fixed; top:0; left:0; right:0; z-index:30;
  }
  body { padding-top: 3.25rem; }
  .navbar-menu .button.is-accent {
    background: var(--mars-red);
    color: #fff;
  }

  /* HERO */
  .hero {
    background: transparent !important;
    min-height: 60vh;
    position: relative;
      margin-bottom: 3rem;

  }
  .hero-body {
    display: flex;
    align-items: center;
    padding: 4rem 1rem;
  }
  .hero h1.title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-pale);
    position: relative;
     z-index: 2;
  }
  .hero ul {
    list-style: none;
    margin: 1rem 0;
  }
  .hero ul li {
    display: flex;
    align-items: center;
    margin-bottom: .5rem;
    color: var(--text-light);
  }
  .hero ul li::before {
    content: '➔';
    margin-right: .5rem;
    color: var(--mars-red);
  }
  .hero .button.is-accent {
    background: var(--mars-red);
    color: #fff;
    padding: .75rem 1.5rem;
    border: none;
    margin-top: 1.5rem;
  }
  .mars-graphic {
    position: absolute;
    right: 5%;
    top: 50%;
  bottom: auto;               /* remove any bottom lock */
  transform: translateY(-50%);
    max-width: 35%;
    pointer-events: none;
  }

    /* CLIENTS & INTRO */
    .intro { text-align:center; padding:4rem 1rem; }
    .clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;    /* center on small/medium */
  gap: 1.5rem;
}

.clients-logos img {
  width: 100%;
  /* force a uniform height (you can tweak to taste) */
  max-width: 120px;
  max-height: 50px;
  object-fit: contain;
  /* if you want them all white, you can also do: */
  filter: brightness(0) invert(1);
}

@media (min-width: 1024px) {
  .clients-logos {
    justify-content: space-between;  /* spread out on desktop */
  }
}

    .intro h2.title {
      font-size:1.75rem; font-weight:600;
    }
    .intro h2 .has-text-danger { color: var(--mars-red); }
    .intro p {
      color: var(--text-light); font-size:1rem; margin-bottom:2rem;
    }

    /* SERVICES */
    #services-section { padding:4rem 1rem; }
    #services-section h2.title { color:#fff; text-align:center; margin-bottom:1rem; }
    #services-section > .container > p {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 2rem;
}
    .columns.is-equal .box {
      background: var(--bg-dark); padding:2rem; border-radius:6px;
      display:flex; flex-direction:column; justify-content:space-between;
    }
    .columns.is-equal .box h3 {
      color:#fff; font-size:1.125rem; font-weight:600; margin-bottom:1rem;
    }
    .columns.is-equal .box p {
      color: var(--text-light); flex:1; margin-bottom:1rem;
    }
    .columns.is-equal .box a {
      color: var(--mars-red); font-weight:600; text-decoration:none;
    }

    /* more breathing room + flex layout */
.columns.is-equal .box {
  background: var(--bg-dark);
  padding: 3rem 2rem;        /* extra padding */
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;               /* space between icon, heading, copy */
  min-height: 300px;         /* ensures uniform height */
}

/* svg icon sizing & color */
.service-icon {
  width: 32px;
  height: auto;
  margin-bottom: 0;          /* gap now handled by `gap` on the box */
  /* if inlining SVG you can also add: fill: #541d18; */
}

/* if you need to color an external SVG via filter (quick hack) */
.service-icon {
  filter: invert(22%) sepia(86%) saturate(682%) hue-rotate(348deg) brightness(90%);
}


    

    /* Utility overrides */
    .section { background: transparent; }

    .has-text-pale {
  color: var(--text-pale) !important;
}
.has-text-light {
  color: var(--text-light) !important;
}

.values-section {
  background: linear-gradient(
    180deg,
    #171516 0%,      /* solid dark at very top */
    #191718 25%,     /* hold dark longer */
    #330d07 45%,     /* muted mars-red */
    #330d07 55%,     /* back to muted */
    #191718 75%,     /* dark returns early */
    #181617 100%     /* full dark at bottom */
  );
  padding: 5rem 1rem;
  text-align: center;
}
.values-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.values-subtitle {
  font-size: 1.125rem;
  color: var(--text-pale);
  margin-bottom: 1.5rem;
}

/* ---------- Horizontal bullets w/ separators ---------- */
.value-list {
  display: flex;
  flex-wrap: wrap; /* allows wrap to 2nd line if needed */
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 1rem 0;        /* less bottom margin than before */
}

.value-list li {
  margin: 0 .5rem;
  font-size: 1rem;
  color: var(--text-light);
  position: relative;
  padding: 0 .75rem;     /* space around each item */
}

.value-list li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: var(--text-pale);
}

/* ---------- Pull graphic closer ---------- */
.values-image {
  max-width: 100%;
  height: auto;
  margin: 1rem auto;     /* shrink from 2rem to 1rem */
  border-radius: 6px;
}


.btn.primary {
  margin-top: 1.5rem;
}



  /*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
  /*  TESTIMONIALS                                                           */
  /*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
  .testimonials-section {
    background: var(--bg-black);
    padding: 4rem 1rem;
  }
  .testimonials-section h2 {
    text-align: center;
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 600;
  }
  .testimonials-section .testimonial {
display: flex;
  flex-direction: column;
  justify-content: center;    /* <— vertically centers contents */
  background: var(--bg-dark);
  padding: 3rem 2rem;         /* same breathing room as your service boxes */
  min-height: 200px;          /* same uniform height */
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  margin-bottom: 1.5rem;
  }
  .testimonials-section blockquote {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: .75rem;
    line-height: 1.4;
  }
  .testimonials-section cite {
    display: block;
    color: #fff;
    font-style: normal;
    font-weight: 600;
    text-align: right;
  }

  /*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
  /*  GLOBAL REACH                                                           */
  /*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
  .flags-section {
    background: var(--bg-dark);
    padding: 4rem 1rem;
  }

  .flags-section .flags-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .flags-section .flags-grid img {
    max-height: 32px;
    opacity: .9;
  }

  /*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
  /*  FINAL CTA                                                              */
  /*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
  .final-cta {
    background: var(--bg-black);
    padding: 4rem 1rem;
    text-align: center;
      margin-bottom: 3rem;      /* ← added extra space before footer */

  }
  .final-cta h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: .5rem;
    font-weight: 600;
  }
  .final-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }
  .final-cta .btn.primary {
    background: var(--mars-red);
    color: #fff;
    padding: .75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
  }

  /*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
  /*  FOOTER                                                                 */
  /*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
  .site-footer {
    background: var(--bg-black);
    padding: 4rem 1rem;
    color: var(--text-light);
  }
  .site-footer .footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .site-footer .footer-col {
    flex: 1 1 200px;
  }
  .site-footer h3 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: .75rem;
    font-weight: 600;
  }
  .site-footer ul {
    list-style: none;
    padding: 0;
  }
  .site-footer ul li {
    margin-bottom: .5rem;
  }
  .site-footer ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color .15s;
  }
  .site-footer ul li a:hover {
    color: var(--mars-red);
  }
  .site-footer .social {
    text-align: left;
  }
  .site-footer .social img {
    max-height: 1.5rem;
    display: block;
    margin: .5rem 0;
    opacity: .9;
  }
  /* 2×2 Grid for client logos */
.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
}

.client-logos-grid img {
  max-height: 60px;      /* adjust as needed */
  width: auto;
  opacity: .85;
  object-fit: contain;
}


.service-text {
  /* Standard box-orient + line-clamp (CSS Line Clamp Level 4) */
  display: box;              /* fallback */
  box-orient: vertical;
  line-clamp: 3;

  /* WebKit legacy */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  overflow: hidden;
  transition: all 0.3s ease;
  text-align: left;
}
.box.expanded .service-text {
  /* unset both clamps */
  line-clamp: unset;
  -webkit-line-clamp: unset;
}
  /* Read-more button */
  .toggle-desc {
    margin-top: auto;
    background: var(--mars-red);
      color: #fff!important; 
    padding: .5rem 1rem;
    border-radius: 4px;
    font-size: .875rem;
    text-decoration: none;
  }
  .toggle-desc:hover {
    opacity: 0.9;
  }

  .columns.is-equal .box {
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

/* 1) Remove the old solid backgrounds */
.testimonials-section,
.flags-section {
  background: transparent !important;
  /* re-apply your own padding if needed: */
  padding: 6rem 1rem;
}

/* 2) Apply the dashboard gradient to the wrapper */
.testimonial-flags-wrapper {
  background: linear-gradient(
    180deg,
    #181818 0%,   /* match the very top of your values section */
    #191718 50%,
    #330d07 100%
  );
}

/* 3) Optional: make sure content still sits on top */
.testimonial-flags-wrapper > section {
  position: relative;
  z-index: 1;
}

.testimonials-section .testimonial {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}
.flags-section > .container > p {
  margin-bottom: 2rem;
  text-align: center;
}
.values-section .values-title {
  color: var(--text-pale);    /* beige heading */
}

.values-section .values-subtitle {
  color: var(--text-light);   /* white paragraph */
}

/* base state: invisible & shifted down */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* when it comes into view: fade in & slide up */
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.material-icons.testimonial-icon {
  font-family: 'Material Icons';
  font-size: 32px;
  color: var(--mars-red);      /* same red as your service icons */
  margin-bottom: 1rem;
}


/* ———————————————————————————————————————— */
/* Contact section styling */
/* ———————————————————————————————————————— */
.contact-section {
  background: var(--bg-black);
  padding: 4rem 1rem;
  text-align: left;
}
.contact-section .label {
  font-weight: 600;
}
.contact-form .input,
.contact-form .textarea {
  background: var(--bg-dark);
  border-color: var(--text-pale);
  color: var(--text-light);
}
.contact-form .input::placeholder,
.contact-form .textarea::placeholder {
  color: var(--text-pale);
}
.button.is-accent {
  background: var(--mars-red) !important;
  color: #fff !important;
}
.has-text-mars-red {
  color: var(--mars-red) !important;
}

/* force navbar links to white again */
.navbar-menu .navbar-item {
  color: var(--text-light) !important;
}
.navbar-menu .navbar-item:hover {
  color: #000000 !important;
}

/* make form fields look like your boxes */
.contact-form .input,
.contact-form .textarea {
  background: var(--bg-dark);
  border: none !important;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  color: var(--text-light);
  padding: 1rem;
  transition: box-shadow .2s ease;
}

/* lift on focus */
.contact-form .input:focus,
.contact-form .textarea:focus {
  box-shadow: 0 8px 16px rgba(0,0,0,0.4), 0 0 0 2px rgba(177,41,24,0.5);
  outline: none;
}

/* taller fields to match your cards */
.contact-form .input,
.contact-form .textarea {
  padding: 1.5rem 1rem;          /* ↑ vertical breathing room */
  background: var(--bg-dark);
  border: none !important;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
  color: var(--text-light);
  transition: box-shadow .2s ease;
}

/* focus glow */
.contact-form .input:focus,
.contact-form .textarea:focus {
  outline: none;
  box-shadow:
    0 8px 16px rgba(0,0,0,0.4),
    0 0 0 2px rgba(177,41,24,0.5);
}

/* “Send” button like your other primaries */
.contact-form .button.is-accent {
  background: var(--mars-red) !important;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: .75rem 1.5rem;      /* same as hero/CTA buttons */
  font-weight: 600;
  margin-top: 1rem;
}


/* ─── Hamburger bars white ─────────────────────────────────────────────────── */
.navbar-burger span {
  background-color: var(--text-light) !important;
}


/* ensure the open menu is full-width on mobile too */
.navbar-menu.is-active {
  background-color: #171314;
}

/* only when mobile menu is open, stack & right-align the links */
.navbar-menu.is-active .navbar-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* make each link fill its row and line up on the right */
.navbar-menu.is-active .navbar-item {
  width: 100%;
  text-align: right;
}


/* Dark‐theme overrides for the feedback modal */
#feedback-modal .modal-background {
  background-color: rgba(0, 0, 0, 0.7);
}

#feedback-modal .modal-card {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-radius: 6px;
}

#feedback-modal .modal-card-head,
#feedback-modal .modal-card-foot {
  background-color: var(--bg-dark);
  border-color: rgba(255,255,255,0.1);
}

#feedback-modal .modal-card-title {
  color: var(--text-light);
}

#feedback-modal .modal-card-body {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

#feedback-modal .delete {
  color: var(--text-light);
}

#feedback-modal .button {
  background-color: var(--mars-red);
  color: #fff;
  border: none;
}

#feedback-modal .button:hover {
  background-color: #a11f14;
}

/* only on post pages, force all headings white */
.post-page h1, 
.post-page h2, 
.post-page h3 {
  color: var(--text-pale) !important;
}

/* subtitles on post pages */
.post-page .subtitle {
  color: var(--text-pale) !important;
}

.post-page h1.title,
.post-page h2.title,
.post-page h3.title {
  color: var(--text-pale) !important;
}

/* 3-line clamp for article excerpts */
.excerpt {
  display: -webkit-box;            /* legacy WebKit fallback */
  -webkit-box-orient: vertical;    /* setup vertical box */
  -webkit-line-clamp: 3;           /* clamp to 3 lines */
  line-clamp: 3;                   /* standard property */
  overflow: hidden;                /* hide the rest */
}

/* Dark theme category tags - with stronger specificity to override Bulma */
.tag.is-dark-accent,
span.tag.is-dark-accent {
  background-color: rgba(177, 41, 24, 0.15) !important;
  color: var(--text-pale) !important;
  border: 1px solid rgba(177, 41, 24, 0.3) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  transition: all 0.2s ease !important;
  /* Ensure no Bulma defaults interfere */
  box-shadow: none !important;
  text-shadow: none !important;
}

.tag.is-dark-accent:hover,
span.tag.is-dark-accent:hover {
  background-color: rgba(177, 41, 24, 0.25) !important;
  border-color: rgba(177, 41, 24, 0.5) !important;
  transform: translateY(-1px) !important;
  color: var(--text-pale) !important;
}

/* Alternative darker version with stronger specificity */
.tag.is-dark-subtle,
span.tag.is-dark-subtle {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-light) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.tag.is-dark-subtle:hover,
span.tag.is-dark-subtle:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-1px) !important;
  color: var(--text-light) !important;
}

/* Override any Bulma color modifiers that might interfere */
.tag.is-dark-accent.is-small,
.tag.is-dark-subtle.is-small {
  font-size: 0.75rem !important;
}

/* Ensure proper spacing in both articles and posts */
#post-categories .tag,
.mb-3 .tag {
  margin-right: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}
/* Nuclear option - force dark categories everywhere */
.tag.is-dark-accent {
  background: rgba(177, 41, 24, 0.15) !important;
  color: #F7E8C6 !important;
  border: 1px solid rgba(177, 41, 24, 0.3) !important;
}

/* Breadcrumb styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

.breadcrumb ul {
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  font-size: 0.875rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--text-pale);
  margin: 0 0.5rem;
}

.breadcrumb a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--mars-red) !important;
}

.breadcrumb .is-active a {
  color: var(--text-pale) !important;
  cursor: default;
}

.breadcrumb .is-active a:hover {
  color: var(--text-pale) !important;
}

/* Filter controls styling */
.input[style*="background: var(--bg-dark)"],
.select select[style*="background: var(--bg-dark)"] {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: box-shadow 0.2s ease;
}

.input[style*="background: var(--bg-dark)"]:focus,
.select select[style*="background: var(--bg-dark)"]:focus {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 0 2px rgba(177,41,24,0.3);
  outline: none;
}

.input[style*="background: var(--bg-dark)"]::placeholder {
  color: rgba(247, 232, 198, 0.6);
}

/* Select dropdown arrow styling */
.select:not(.is-multiple):not(.is-loading)::after {
  border-color: var(--text-pale);
}

/* Related Articles Carousel */
.articles-carousel-wrapper {
  position: relative;
  margin: 0 3rem; /* Space for arrows */
}

.articles-carousel {
  transition: transform 0.3s ease;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-dark);
  border: 1px solid rgba(177, 41, 24, 0.3);
  color: var(--text-pale);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:hover {
  background: rgba(177, 41, 24, 0.15);
  border-color: rgba(177, 41, 24, 0.5);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow-left {
  left: -3rem;
}

.carousel-arrow-right {
  right: -3rem;
}

.carousel-arrow .material-icons {
  font-size: 24px;
}

/* Fix text visibility in related articles - match articles page styling */
.article-card .box h3 {
  color: #fff !important; /* White like articles page */
}

.article-card .box .excerpt {
  color: var(--text-light) !important;
}

.article-card .box .tag.is-dark-accent {
  background-color: rgba(177, 41, 24, 0.15) !important;
  color: var(--text-pale) !important;
  border: 1px solid rgba(177, 41, 24, 0.3) !important;
}

/* Fix strong elements in post content */
.post-page #post-content strong,
.post-page .content strong {
  color: var(--text-pale) !important;
  font-weight: 600;
}

/* Fix any other dark text elements in post content */
.post-page #post-content,
.post-page .content {
  color: var(--text-light);
}

.post-page #post-content h1,
.post-page #post-content h2,
.post-page #post-content h3,
.post-page #post-content h4,
.post-page #post-content h5,
.post-page #post-content h6 {
  color: var(--text-pale) !important;
}

.post-page #post-content p,
.post-page #post-content li,
.post-page #post-content span {
  color: var(--text-light) !important;
}

.post-page #post-content a {
  color: var(--mars-red);
  text-decoration: underline;
}

.post-page #post-content a:hover {
  color: var(--text-pale);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .articles-carousel-wrapper {
    margin: 0 2rem;
  }
  
  .carousel-arrow-left {
    left: -2rem;
  }
  
  .carousel-arrow-right {
    right: -2rem;
  }
  
  .article-card {
    min-width: 250px !important;
    width: 250px !important;
  }
}

/* Add this to your styles.css - MORE SPECIFIC override for related articles */

/* Override the post-page h3 rule specifically for related articles */
.post-page .article-card .box h3 {
  color: #fff !important; /* Force white like articles page */
}

/* Ensure the excerpt text is also correct */
.post-page .article-card .box .excerpt {
  color: var(--text-light) !important;
}

/* Make sure category tags are also styled correctly */
.post-page .article-card .box .tag.is-dark-accent {
  background-color: rgba(177, 41, 24, 0.15) !important;
  color: var(--text-pale) !important;
  border: 1px solid rgba(177, 41, 24, 0.3) !important;
}

/* Ensure the box background is correct */
.post-page .article-card .box {
  background: var(--bg-dark) !important;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4) !important;
}

.articles-carousel {
  overflow: visible !important;
  padding-bottom: 1rem;
}

.articles-carousel-wrapper {
  overflow: hidden;
  padding-bottom: 1rem;
}