/* ================================
   ACCESSIBILITY & CONTRAST FIXES
   WCAG 2.1 AA COMPLIANT
================================ */

/* Base text color improvement */
body,
p,
.content-wrap p,
.site-inner-wrap p {
    color: #2B2B2B; /* darker for better contrast */
}

/* Improve general paragraph contrast */
p,
.site-top-content .he-content p,
.site-middle-content p {
    color: #2F2F2F;
}

/* Headings – clearer hierarchy */
h1, h2, h3, h4, h5, h6 {
    color: #1A1A1A;
}

/* Banner heading */
.banner-txt-inner h1 {
    color: #FFFFFF;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Blue section contrast fix */
.blue-two-wrap {
    background-color: #0F3A5F; /* darker blue */
}

.blue-two-wrap h2,
.blue-two-wrap p {
    color: #FFFFFF;
}

/* Gray text made darker */
.gray-bg p,
.bg-gray p,
.site-inner-wrap .gray-bg-container p {
    color: #333333;
}

/* Buttons – better contrast */
.primary-btn {
    background-color: #FB6534;
    border-color: #FB6534;
    color: #FFFFFF;
}

.primary-btn:hover {
    background-color: #D94E22;
    color: #FFFFFF;
}

.secondary-btn {
    color: #B8401C;
    border-color: #B8401C;
}

.secondary-btn:hover {
    background-color: #B8401C;
    color: #FFFFFF;
}

/* Links – visible & accessible */
a {
    color: #C44A1C;
}

a:hover,
a:focus {
    color: #9E3A14;
    text-decoration: underline;
}

/* Testimonials text contrast */
#big .item p {
    color: #2B2B2B;
}

/* Thumbnails text contrast */
#thumbs .item p {
    color: #333333;
}

#thumbs .current .item p {
    color: #FFFFFF;
}

/* Footer text contrast (if enabled later) */
footer p,
footer li,
footer a {
    color: #E0E0E0;
}

/* Form labels contrast */
.contact-wrap .form-style label {
    color: #1F1F1F;
}

/* List bullets visibility */
ul li::after,
.site-inner-wrap .zensa-list-wrap ul li:after {
    background-color: #1F1F1F;
}

/* Focus states for keyboard accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid #FB6534;
    outline-offset: 2px;
}

#main {
  outline: none;
}

.s-btn, .hm-readmore {
  font-size: 16px !important;
  line-height: 24px !important;
  color: #C43A00 !important;
  background-color: #ffffff;
}

/*.secondary-btn{
  color: #C43A00 !important;
  background-color: #ffffff; 
}*/

.case-study-title {
  font-size: 20px;
  line-height: 40px;
  letter-spacing: 0.1px;
  font-weight: 500;
}

/* ================================
   Accessible Banner / Hero Section
   ================================ */

/* Wrapper with dynamic background image */
.banner-wrapper {
    height: 550px;
    position: relative;
    overflow: hidden;
    /* ADD THIS LINE: A dark color that matches your video's theme */
    background-color: #0b0d17; 
    background-image: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)), var(--banner-img);
    background-size: cover;
    background-position: center;
}

/* Hide <img> if still present in markup */
.banner-img {
  display: none;
}

/* Centered heading */
.banner-txt-inner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  z-index: 1;
}

/* Main heading */
.banner-txt-inner h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 55px;
  line-height: 70px;
  letter-spacing: 0.1px;
  color: #ffffff;
  padding: 0 100px;
  margin: 0;
}

/* Bottom breadcrumb/navigation */
.banner-nav {
  position: absolute;
  bottom: 30px;
  width: 100%;
  z-index: 1;
}

.banner-nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 70px;
  letter-spacing: 0.1px;
  color: #ffffff;
  text-decoration: none;
  padding-left: 20px;
  display: inline-block;
}

/* Hover / focus visibility (accessibility) */
.banner-nav a:hover,
.banner-nav a:focus {
  text-decoration: underline;
}

/* ================================
   Responsive adjustments
   ================================ */

@media (max-width: 991px) {
  .banner-wrapper {
    height: 420px;
  }

  .banner-txt-inner h1 {
    font-size: 42px;
    line-height: 54px;
    padding: 0 40px;
  }

  .banner-nav a {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  .banner-wrapper {
    height: 360px;
  }

  .banner-txt-inner h1 {
    font-size: 32px;
    line-height: 42px;
    padding: 0 20px;
  }

  .banner-nav a {
    font-size: 18px;
  }
}

/***** About us ********/

.blue-wrap {
  background-image:
    linear-gradient(
      rgba(0, 38, 77, 0.85),
      rgba(0, 38, 77, 0.85)
    ),
    url("../images/bg-blue.jpg");

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  text-align: center;
  max-width: 1235px;
  border-radius: 14px;
}
.ceo-wrap h3,
.ceo-wrap p {
  color: #FFFFFF;
}
/* SKIP NAV BASE */
.skip-nav {
  position: fixed;
  top: 12px;
  left: 12px;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 10px 16px;
  background: #ffffff;
  color: #000000;

  border-radius: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;

  text-decoration: none !important;
  z-index: 99999;

  /* Hide by default but keep accessible */
  transform: translateY(-120%);
  transition: transform 0.2s ease-in-out;
}

/* SHOW ON KEYBOARD FOCUS */
.skip-nav:focus,
.skip-nav:focus-visible {
  /*transform: translateY(0);
  outline: none;*/
  transform: translateY(0);
  outline: 3px solid #f25c28; /* Matches your orange theme */
  outline-offset: 4px;
}

/* TEXT */
.skip-text {
  color: #000;
}

/* ENTER PILL */
.skip-key {
  background: #f25c28;
  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  padding: 6px 12px;
  border-radius: 20px;
  line-height: 1;
}

/* HIGH CONTRAST MODE SUPPORT */
@media (prefers-contrast: more) {
  .skip-nav {
    border: 2px solid #000;
  }
}


/* =========================================================
   ACCESSIBLE FOCUS INDICATORS — SINGLE PAGE CSS
   WCAG 2.4.7 / 2.4.11 COMPLIANT
   ========================================================= */

/* 1. Base reset (safe only because we replace it below) */
:focus {
  outline: none;
}

/* 2. Universal keyboard focus indicator */
:focus-visible {
  outline: 3px solid hsl(240, 100%, 25%); /* navy */
  outline-offset: 3px;
}

/* 3. Links: add underline so focus is not color-only */
a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* 4. Buttons and form controls */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid hsl(240, 100%, 25%);
  outline-offset: 2px;
}

/* 5. Border-based focus utility (no layout shift) */
.focus-border {
  border: 3px solid transparent;
}

.focus-border:focus-visible {
  border-color: hsl(240, 100%, 25%);
}

/* 6. Box-shadow “halo” focus utility */
.focus-halo:focus-visible {
  box-shadow: 0 0 0 4px hsl(240, 100%, 25%);
}

/* 7. Background highlight focus utility */
.focus-bg:focus-visible {
  background-color: hsl(240, 100%, 95%);
}

/* 8. High-contrast mode support */
@media (prefers-contrast: more) {
  :focus-visible {
    outline-width: 4px;
  }
}

/* 9. Reduced motion users (avoid transform effects) */
@media (prefers-reduced-motion: reduce) {
  *:focus-visible {
    transition: none;
  }
}
.rd-wrap-updated {
  position: relative;
  background-image: url(../images/bg-col.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

/* Dark overlay */
.rd-wrap-updated::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 39%); /* adjust 0.5–0.7 if needed */
  border-radius: 14px;
  z-index: 1;
}

/* Keep content above overlay */
.rd-wrap-updated .container {
  position: relative;
  z-index: 2;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cloud-rd-wrap {
  background: #6b2a0a; 
}

.cloud-rd-wrap h2,
.cloud-rd-wrap h3,
.cloud-rd-wrap p {
  color: #ffffff;
  opacity: 1;
}

.swrap-head{
      color: #ffffff;
    position: relative;
    padding-bottom: 16px;
}

.cloud-rd-wrap {
  position: relative;
  background-image: url(../images/rd-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.cloud-rd-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 55%); 
}

.blk-bg-wrap{
    z-index: 10;
}

.blk-bg-wrap {
  background: #2b2b2b;
}

.blk-bg-wrap p,
.blk-bg-wrap h2 {
  color: #ffffff;
}


.bg-optimize {
    position: relative;
    background-image: url(../images/bg-optimize.jpg);
    /* ADD THIS LINE: Use a color that matches the image's dark tone */
    background-color: #602d05; 
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding-bottom: 80px;
    border-radius: 20px;
    overflow: hidden;
}

/* overlay */
.bg-optimize::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55); /* tweak 0.45–0.65 if needed */
    z-index: 1;
}

/* bring text above overlay */
.bg-optimize h2,
.bg-optimize p,
.bg-optimize a {
    position: relative;
    z-index: 2;
}

.key-benefit-wrap h3 {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: normal;
}

.page-template-zen-ai .keybenefit-box .keybenfit-content h3 {
    font-family: 'IBM Plex Sans';
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    color: #323232;
    margin-bottom: 10px;
}

.t-wrap h3 {
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    color: #323232;
    margin-bottom: 15px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.r-wrap h3 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
    color: #4E4A47;
}
.site-case-study-wrap .brown-btn {
  color: #ffffff !important;
}
/* ================================
   VIDEO & MEDIA ACCESSIBILITY
   ================================ */

/* Ensure captions are readable */
video::cue {
  background: rgba(0,0,0,0.75);
  color: #ffffff;
  font-size: 1rem;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  video[autoplay] {
    animation: none;
  }
}

/* Ensure controls are visible */
video:focus-visible {
  outline: 3px solid #FB6534;
  outline-offset: 3px;
}
