.article-info a {
    border-bottom: 0px !important;
}

.no-padding {
    padding: 0;
}

.no-mainbody .t3-mainbody {
  display: none;
}

.btn {
    font-weight: 600;
}

.label-small {
    font-weight: 600;
}

.section-wrap > div {
    padding-top: 20px !important;
}

/********** START OF THE HERO STYLING BLOCK ************/
.video-background {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust as needed */
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

.video-background .content {
  position: relative;
  z-index: 2;
  color: white; /* Adjust for contrast */
  text-align: center;
  /* Optional: add padding, centring, etc. */
}


#animated-bg {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0px !important;
  /*height: calc(100vh - 175px);*/
}

#canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Behind content */
}

#animated-bg .row {
  position: relative;
  z-index: 2; /* Above canvas */
  padding: 10vh 0;
}

#animated-bg .row > div.features-item {
    padding: 40px 20px;
}

@media (max-width: 1199px) {
  #animated-bg .row > div.features-item {
    padding: 10px 20px;
  }
  #animated-bg .row {
    padding: 15vh 0;
  }
}

@media (max-width: 767px) {
  .acm-features.style-2 .row > div.features-item {
    padding: 16px;
  }
  #animated-bg .row {
    padding: 10vh 0;
  }
}

.pea-masthead {
    font-size: 70px;
    font-weight: 700;
    min-width: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.pea-masthead:before {
    background-color: #000;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.3;
    height: 100%;
    width: 100%;
    z-index: 3;
}

.pea-masthead-detail, .sapience-hero-detail {
    text-align: center;
    max-width: 100%;
    padding-top: 24px;
    padding-bottom: 24px;
    display: inline-block;
    position: relative;

    padding: 15vh 24px;
    width: 100%;
    z-index: 20;
}

.pea-hero {
    text-align: center;
    margin: 0 20px 0 20px;
    z-index: 20;
}

.sapience-hero h1 {
    font-size: 70px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-left: 30%;
    margin-top: 0;
    margin-bottom: 6px;
    z-index: 20;
}

.pea-hero h1, .pea-masthead-detail h1 {
    font-size: 70px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-top: 0;
    margin-bottom: 6px;
    z-index: 20;
    text-shadow: 0px 0px 10px #2d2d2d;
}

.pea-hero h2, .pea-masthead-detail h2 {
    font-size: 60px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 6px;
    z-index: 20;
    text-shadow: 0px 0px 20px #000;
}

@media (max-width: 1199px) {
    .pea-masthead-detail {
        padding: 10vh 24px;
    }
    .pea-hero h1, .pea-masthead-detail h1 {
        font-size: 48px;
    }
    .pea-hero h2, .pea-masthead-detail h2 {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .pea-masthead-detail {
        padding: 60px 24px;
    }
    .pea-hero h1, .pea-masthead-detail h1 {
        font-size: 36px;
    }
    .pea-hero h2, .pea-masthead-detail h2 {
        font-size: 28px;
    }
}

/********** END OF THE HERO STYLING BLOCK ************/


/********** COMPARISON TABLES BLOCK ************/
/* Wrapper for mobile scroll */
.comparison-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

/* Table base */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 90%;
  color: #111;
  min-width: 700px; /* ensures scroll on small screens */
}

/* Header row */
.comparison-table thead th {
  text-align: left;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #daa32c; /* gold */
  white-space: nowrap;
}

/* Body cells */
.comparison-table td {
  padding: 0.65rem 1rem;
  vertical-align: top;
}

/* Row separators (light, not grid-heavy) */
.comparison-table tbody tr {
  border-bottom: 1px solid #eee;
}

/* First column (capability) */
.comparison-table td:first-child {
  font-weight: 500;
  width: 28%;
}

/* Sapience column highlight */
.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
  background-color: rgba(212, 175, 55, 0.08); /* very light gold */
  font-weight: 600;
}

/* Icons (optional tidy-up) */
.comparison-table td {
  line-height: 1.4;
}

/* Zebra striping (very subtle, optional) */
.comparison-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.comparison-table tbody tr:hover {
  background-color: #f5f5f5;
}
/********** END OF THE COMPARISON TABLES BLOCK ************/


/********** CLIENT LOGO STYLING **********/
/* --- intro text --- */
.clients-intro {
    text-align: center;
    margin: 0 auto 64px;
    width: 40%;
}

.clients-intro h2 {
    color: #d2d2d2;
}


/* --- size controls you can tweak quickly --- */
:root{
  --logo-h-min: 48px;   /* was 24 */
  --logo-h-ideal: 10vw;/* was 5vw */
  --logo-h-max: 100px;   /* was 54 */
  --logo-col-min: 100px;/* cell min width (fewer, larger columns on wide screens) */
  --logo-gap-row: 20px; /* was 18 */
  --logo-gap-col: 0px; /* was 28 */
}

/* grid */
.logo-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--logo-col-min), 1fr));
  gap: var(--logo-gap-row) var(--logo-gap-col);
  align-items:center;
  justify-items:center;
  list-style:none;
  margin:0;
  padding:0;
}

/* give each item a “logo box” so images can fill it neatly */
.logo-grid li{
  height: clamp(var(--logo-h-min), var(--logo-h-ideal), var(--logo-h-max));
  display:flex;
  align-items:center;
  justify-content:center;
}

/* images fill the box without distortion */
.logo-grid img{
  max-height:100%;
  max-width:90%;
  display:block;
  filter: grayscale(100%) sepia(22%) hue-rotate(330deg) saturate(140%) brightness(95%);
  opacity:.85;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.logo-grid img:hover{
  filter:none; 
  opacity:1; 
  transform: scale(2, 2);
  z-index:20;
  /*translateY(-1px);*/
}

/* optional: slightly bigger on very wide screens */
/*
@media (min-width:1300px){
  :root{ --logo-h-max: 88px; --logo-col-min: 170px; }
}
*/

/********** END OF CLIENT LOGO STYLING **********/


/********** FEATURE BLOCK STYLING **********/
/* --- intro text --- */
.feature-block {
    text-align: center;
    margin: 0 auto 64px;
    width: 40%;
}

.feature-block h2 {
    color: #d2d2d2;
}

/* --- size controls you can tweak quickly --- */
.sapience-features {
  text-align: center;
  padding: 3rem 1rem;
}

.sapience-features-left {
  text-align: left;
  padding: 3rem 1rem;
}

.sapience-features h2 {
    text-align: left;
}

.features-heading {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-tile {
  flex: 1 1 calc(16.66% - 1.5rem); /* 6 per row minus gap */
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-tile:hover {
  /*transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);*/
}

.feature-tile img {
  width: 60%;
  max-width: 100px;
  object-fit: contain;
  display: block; 
  margin-left: auto; 
  margin-right: auto;
  margin-bottom: 2rem;
}

/*
.feature-tile h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #222;
}
*/

.feature-tile p {
  font-size: 1 rem;
  color: #555;
  line-height: 1.4;
}

/* Tablet view: 3 per row */
@media (max-width: 992px) {
  .feature-tile {
    flex: 1 1 calc(33.33% - 1.5rem);
  }
}

/* Mobile view: 1 per row */
@media (max-width: 600px) {
  .feature-tile {
    flex: 1 1 100%;
  }
}

/********** END OF FEATURE BLOCK STYLING **********/


/********** USECASE BLOCK STYLING **********/
/* --- intro text --- */
.usecase-block {
    text-align: center;
    margin: 0 auto 64px;
    width: 40%;
}

.usecase-block h2 {
    color: #d2d2d2;
}

/* --- size controls you can tweak quickly --- */
.sapience-usecases {
  text-align: center;
  padding: 3rem 1rem;
}

.usecases-heading {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
}

.usecases-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.usecase-tile {
  flex: 1 1 calc(25% - 1.5rem); /* 4 per row minus gap */
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.usecase-tile:hover {
  /*transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);*/
}

.usecase-tile img {
  width: 60%;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.usecase-tile h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.usecase-tile p {
  font-size: 1 rem;
  color: #555;
  line-height: 1.4;
}

/* Tablet view: 3 per row */
@media (max-width: 992px) {
  .usecase-tile {
    flex: 1 1 calc(33.33% - 1.5rem);
  }
}

/* Mobile view: 1 per row */
@media (max-width: 600px) {
  .usecase-tile {
    flex: 1 1 100%;
  }
}

/********** END OF USE CASE BLOCK STYLING **********/



.video-container {
  /*height: 300px;*/
  width: 100%;
  overflow: hidden;
  position: relative;
}

.video-container video {
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

/* Just styling the content of the div, the *magic* in the previous rules */
.video-container .caption {
  z-index: 2;
  position: relative;
  text-align: center;
  color: #dc0000;
  padding: 10px;
}

.video-container:before {
    background-color: #000;
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.3;
    height: 100%;
    width: 100%;
    z-index: 3;
}


/********** MISC **********/


.t3-content-mast-top {
    margin-top: -8px;
}


.pea-cta {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 64px 0;
    text-align: center;
}

@media (max-width: 767px) {
    .pea-cta {
        padding: 24px 0;
    }
}

@media (min-width: 992px) {
    .pea-cta .container {
        width: 972px;
    }
}
@media (min-width: 768px) {
    .pea-cta .container {
        width: 752px;
    }
}
.pea-cta .container {
    padding-right: 16px;
    padding-left: 16px;
    margin-right: auto;
    margin-left: auto;
}
.pea-cta .cta-content {
    box-sizing: border-box;
}
.pea-cta h2 {
    color: #ffffff;
    font-weight: 400;
    display: inline-block;
    margin: 12px 64px;
}

.dark-text {
    color: #2d2d2d;
}


/********** CUSTOM MOD STYLES **********/
.mod-bg-grey {
  background-color: #fbfbfb;
  background-image: url('../images/bg-mask.png');
  background-repeat: no-repeat;
  background-position: left bottom;
}

.mod-bg-grey-plain {
  background-color: #fbfbfb; 
}

.mod-no-bottom-padding {
    padding-bottom: 0 !important;
}

.mod-no-top-padding {
    padding-top: 0 !important;
}

.mod-no-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.mod-bg-grey .acm-testimonial.style-1 .testimonial-intro h2 {
    color: #234269 !important;
}

#mod-custom255, #mod-custom249 {
    padding: 0 !important;
}

.mod-no-padding .style-2 {
    margin-bottom: 0 !important;
}

.features-image.col-xs-12 {
    text-align: center;
}


/********** END CUSTOM MOD STYLES **********/

/********** PRICING TABLE STYLING **********/
.pricing-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    font-family: sans-serif;
    margin: 96px auto;

    max-width: 1200px;
}


.pricing-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex: 1 1 260px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s;
}


.pricing-card:hover {
    transform: translateY(-5px);    
}


.pricing-card h3 {
    font-size: 1.4rem;
    color: #333;
}


.price {
    font-size: 2rem;
    color: #daa32c;
    margin: 1rem 0;
}

/*
.pricing-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1rem 0;
}


.pricing-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}
*/

.cta-button {
    background: #daa32c;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    text-decoration: none;
    display: inline-block;
}


.cta-button:hover {
    background: #b78924;
}


.addons-table {
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto;
    border-collapse: collapse;
    font-family: sans-serif;
}


.addons-table th, .addons-table td {
    border: 1px solid #ddd;
    padding: 1rem;
    text-align: left;
    /*font-size: 0.95rem;*/
}


.addons-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}


@media (max-width: 768px) {
    .addons-table thead {
        display: none;
    }
    
    
    .addons-table, .addons-table tbody, .addons-table tr, .addons-table td {
        display: block;
        width: 100%;
    }
    
    
    .addons-table tr {
        margin-bottom: 1rem;
        border-bottom: 2px solid #ddd;
    }
    
    
    .addons-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }
    
    
    .addons-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        padding-right: 1rem;
        font-weight: bold;
        text-align: left;
    }
}

/********** END OF PRICING TABLE STYLING **********/

/********** EXPANDING BLOCK STYLING **********/
  .sapience-example-block {
    border: 1px solid #d9dde3;
    border-radius: 10px;
    background: #fbfbfb;
    margin: 2rem 0;
    overflow: hidden;
  }

  .sapience-example-block summary {
    list-style: none;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    position: relative;
    display: block;
  }

  .sapience-example-block summary::-webkit-details-marker {
    display: none;
  }

  .sapience-example-kicker {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5d6b7a;
    margin-bottom: 0.35rem;
  }

  .sapience-example-title {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2a37;
    margin-bottom: 0.45rem;
    padding-right: 2rem;
  }

  .sapience-example-intro {
    display: block;
    color: #445160;
    line-height: 1.5;
    padding-right: 2rem;
  }

  .sapience-example-toggle {
    position: absolute;
    top: 1.4rem;
    right: 1.25rem;
    width: 1rem;
    height: 1rem;
  }

  .sapience-example-toggle::before,
  .sapience-example-toggle::after {
    content: "";
    position: absolute;
    background: #445160;
    border-radius: 1px;
    transition: transform 0.2s ease;
  }

  .sapience-example-toggle::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
  }

  .sapience-example-toggle::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
  }

  .sapience-example-block[open] .sapience-example-toggle::after {
    transform: translateX(-50%) scaleY(0);
  }

  .sapience-example-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #d9dde3;
  }

  .sapience-example-content h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .sapience-example-content p,
  .sapience-example-content ul {
    margin-bottom: 0.85rem;
  }

  .sapience-example-content ul {
    padding-left: 1.25rem;
  }
  /********** END OF EXPANDING BLOCK STYLING **********/