
:root {
  --primary-color: #FF5239;
  --secondary-color: #FF914A;
  --accent-color: #FF3434;
  --bg-color: #FFFFFF;
  --dark-bg: #14110F;
  --light-bg: #FFF4EE;
  --heading-color: #302C28;
  --body-text-color: #57514B;
  --muted-color: #6F6862;
  --brand-border-color: #F0E6E0;
  --button-color: #D93A1F;
  --button-hover: #B92E17;
  --link-color: #C8341C;
  --link-hover: #B92E17;
  --link-on-dark: #FF7344;
  --card-bg: #FFFFFF;
  --card-bg-alt: #FFF8F4;
  --card-bg-dark: #1E1A17;
  --brand-gradient: linear-gradient(90deg, #FF3434 0%, #FF7344 55%, #FF914A 100%);
}

/* warm near-black instead of the theme's pure black page background in dark mode */
body.dark,
body.dark.style-2 {
  background-color: var(--dark-bg);
}

/* ---------- Logo ----------
 * BranQ logo (192x60 PNG) shown at the old theme logo's 40px height in the header and
 * offcanvas menu so the header layout is unchanged; width follows the original proportions.
 */
header.header-area .company-logo img.brand-logo,
.sidebar-menu .sidebar-menu-logo img.brand-logo {
  height: 40px;
  width: auto;
  max-width: none;
}
.footer-section .footer-top .footer-logo-area .logo img.brand-logo {
  width: 150px;
  height: auto;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .footer-section .footer-top .footer-logo-area .logo img.brand-logo {
    width: 120px;
  }
}

/* ---------- Contrast ----------
 * The brand primary (#D93A1F) passes on light backgrounds and as a button fill with white text,
 * but only reaches ~4:1 as small text on dark backgrounds. Text in brand color on dark
 * surfaces therefore uses the logo orange (--link-on-dark, 6.97:1 on #14110F).
 */
/* header navigation (the inner-page header is always dark; the home header is dark in dark mode) */
header.style-2 .growth-nav-item:hover > .growth-nav-link,
header.style-2 .growth-nav-item.open > .growth-nav-link,
header.style-2 .growth-nav-item.active > .growth-nav-link,
header.style-2 .growth-nav-item:hover > .growth-nav-toggle,
header.style-2 .growth-nav-item.open > .growth-nav-toggle,
header.style-2 .growth-nav-item.active > .growth-nav-toggle,
body.dark .growth-nav-item:hover > .growth-nav-link,
body.dark .growth-nav-item.open > .growth-nav-link,
body.dark .growth-nav-item.active > .growth-nav-link,
body.dark .growth-nav-item:hover > .growth-nav-toggle,
body.dark .growth-nav-item.open > .growth-nav-toggle,
body.dark .growth-nav-item.active > .growth-nav-toggle,
body.dark .growth-mega-title:hover,
body.dark .growth-mega-list li a:hover,
body.dark .growth-mega-list li a:focus-visible,
body.dark .growth-mega-list li.active a {
  color: var(--link-on-dark);
}
/* breadcrumb banner and contact section are dark in both modes */
.breadcrumb-section .banner-wrapper .banner-content .breadcrumb-list li a,
.contact-section .contact-content .section-title span {
  color: var(--link-on-dark);
}
/* dark-mode sections of the home page */
body.dark .section-title > span,
body.dark .case-study-card .card-content > a:not(.learn-more-btn),
body.dark .scroll-content-area .content > span,
body.dark .author-area .content > span {
  color: var(--link-on-dark);
}
body.dark .home1-approach-section .approach-area .single-approach .approach-content-wrap .scroll-content-area .content span {
  color: var(--link-on-dark);
}
/* always on a dark overlay / dark card, in both modes */
.banner-with-case-study-slider-section .banner-area .section-title > span,
.case-study-card:not(.style-2) .card-content > a:not(.learn-more-btn) {
  color: var(--link-on-dark);
}
/* small brand-colored labels on light tinted sections (light mode) use the deeper shade */
body:not(.dark) .section-title > span,
body:not(.dark) .home1-approach-section .approach-area .single-approach .approach-content-wrap .scroll-content-area .content span {
  color: var(--link-hover);
}
/* theme bug: in dark mode the date badge background turns white while its text stays white */
body.dark .blog-card .blog-card-img-wrap .date {
  color: var(--dark-bg);
}
body.dark .blog-card .blog-card-img-wrap .date svg {
  fill: var(--dark-bg);
}
/* faded theme text that falls below 4.5:1 on light backgrounds */
body:not(.dark) .case-study-card.style-2 .card-content p,
body:not(.dark) .team-card2 .team-content span,
body:not(.dark) .pagination-area .paginations .page-item:not(.active) a:not(:hover),
body:not(.dark) .blog-details .blog-details-content .blockquote-text {
  color: var(--muted-color);
}


/* Mobile bottom navigation — additive only */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  /* Hide only the existing header menu button on mobile. The existing
     sidebar/menu functionality remains intact and is triggered by the
     bottom navigation Menu button. */
  header.header-area .nav-right .right-sidebar-and-hotline-area .sidebar-btn {
    display: none !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    min-height: 82px;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #E6E0DE;
    box-shadow: 0 -5px 18px rgba(20, 17, 15, 0.08);
  }

  .mobile-bottom-nav__item {
    flex: 1 1 0;
    min-width: 0;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 2px;
    margin: 0;
    border: 0;
    background: transparent;
    color: #57514B;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-nav__item i {
    font-size: 22px;
    line-height: 1;
    color: #D93A1F;
  }

  .mobile-bottom-nav__item:focus-visible {
    outline: 2px solid #D93A1F;
    outline-offset: -2px;
  }

  .mobile-bottom-nav__home {
    position: relative;
    z-index: 2;
    justify-content: flex-start;
    padding-top: 0;
  }

  .mobile-bottom-nav__home i {
    width: 62px;
    height: 62px;
    margin-top: -31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #D93A1F;
    border: 4px solid #fff;
    box-shadow: 0 3px 12px rgba(20, 17, 15, 0.18);
    color: #fff;
    font-size: 29px;
  }

  .mobile-bottom-nav__home span {
    margin-top: 1px;
    color: #57514B;
  }
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}


/* ---------- branq premium footer contact redesign ---------- */
.branq-contact-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.45fr) minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 18px;
  padding: 10px 0 48px;
}

.branq-contact-box {
  min-width: 0;
  min-height: 178px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 24px;
  border: 1px solid rgba(255, 145, 74, 0.20);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.branq-contact-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color1);
  background: rgba(255, 82, 57, 0.045);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.branq-contact-icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 145, 74, 0.28);
  border-radius: 10px;
  background: rgba(255, 82, 57, 0.06);
  color: var(--link-on-dark);
  font-size: 18px;
  line-height: 1;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.branq-contact-box:hover .branq-contact-icon {
  border-color: var(--primary-color1);
  background: rgba(255, 82, 57, 0.11);
  transform: scale(1.03);
}

.branq-contact-content {
  min-width: 0;
  flex: 1;
}

.branq-contact-label {
  display: block;
  margin-bottom: 10px;
  color: var(--link-on-dark);
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.branq-contact-text {
  display: block;
  margin: 0;
  color: #f1f1f1;
  font-family: var(--font-hankenGrotesk);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.branq-contact-box a.branq-contact-text {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.25s ease;
}

.branq-contact-box a.branq-contact-text:hover {
  color: var(--link-on-dark);
}

.branq-contact-address {
  font-style: normal;
  font-weight: 400;
}

@media (max-width: 1199px) {
  .branq-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .branq-contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 0 30px;
  }

  .branq-contact-box {
    min-height: 0;
    padding: 21px 20px;
    gap: 15px;
    border-radius: 11px;
  }

  .branq-contact-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .branq-contact-label {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .branq-contact-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .branq-footer-bottom {
    padding-bottom: 105px;
  }
}

@media (max-width: 375px) {
  .branq-contact-box {
    padding: 18px 16px;
    gap: 13px;
  }

  .branq-contact-icon {
    width: 39px;
    min-width: 39px;
    height: 39px;
    font-size: 15px;
  }

  .branq-contact-text {
    font-size: 13px;
  }
}



/* =========================================================
   branq PREMIUM FOOTER - THEME SAFE
   ========================================================= */
.branq-contact-grid{width:100%;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.45fr) minmax(0,1.25fr) minmax(0,.9fr);gap:18px;padding:10px 0 48px}
.branq-contact-box{min-width:0;min-height:178px;display:flex;align-items:flex-start;gap:18px;padding:26px 24px;border:1px solid rgba(217,58,31,.18);border-radius:12px;background:rgba(255,255,255,.55);color:var(--text-color);text-decoration:none;transition:transform .3s ease,border-color .3s ease,background-color .3s ease,box-shadow .3s ease}
body:not(.dark) .branq-contact-box{background:rgba(255,255,255,.72);border-color:rgba(217,58,31,.18)}
body.dark .branq-contact-box{background:rgba(255,255,255,.035);border-color:rgba(255,145,74,.20)}
.branq-contact-box:hover{transform:translateY(-4px);border-color:var(--primary-color1);box-shadow:0 12px 28px rgba(0,0,0,.20)}
body:not(.dark) .branq-contact-box:hover{background:rgba(255,255,255,.95)}
body.dark .branq-contact-box:hover{background:rgba(255,82,57,.045)}
.branq-contact-icon{width:44px;min-width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:10px;font-size:18px;line-height:1;transition:background-color .3s ease,border-color .3s ease,transform .3s ease}
body:not(.dark) .branq-contact-icon{color:var(--link-color);background:rgba(217,58,31,.06);border:1px solid rgba(217,58,31,.20)}
body.dark .branq-contact-icon{color:var(--link-on-dark);background:rgba(255,82,57,.06);border:1px solid rgba(255,145,74,.28)}
.branq-contact-box:hover .branq-contact-icon{transform:scale(1.03);border-color:var(--primary-color1)}
body:not(.dark) .branq-contact-box:hover .branq-contact-icon{background:rgba(217,58,31,.10)}
body.dark .branq-contact-box:hover .branq-contact-icon{background:rgba(255,82,57,.11)}
.branq-contact-content{min-width:0;flex:1}
.branq-contact-label{display:block;margin-bottom:10px;font-family:var(--font-inter);font-size:13px;font-weight:500;line-height:1.3;letter-spacing:.2px}
body:not(.dark) .branq-contact-label{color:var(--link-color)}
body.dark .branq-contact-label{color:var(--link-on-dark)}
.branq-contact-text{display:block;margin:0;font-family:var(--font-hankenGrotesk);font-size:15px;font-weight:500;line-height:1.6;overflow-wrap:anywhere;color:var(--text-color)}
.branq-contact-address{margin:0;font-style:normal;font-weight:400;color:var(--text-color)}
.branq-contact-box a.branq-contact-text{color:var(--text-color);text-decoration:none;transition:color .25s ease}
.branq-contact-box a.branq-contact-text:hover{color:var(--primary-color1)}
.branq-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:26px 0 30px;border-top:1px solid rgba(48,44,40,.12)}
body.dark .branq-footer-bottom{border-top-color:rgba(255,255,255,.10)}
.branq-footer-copyright{color:var(--text-color);font-family:var(--font-hankenGrotesk);font-size:14px;font-weight:400;line-height:1.5}
.branq-footer-copyright p{margin:0;color:var(--text-color)}
.branq-footer-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:28px;margin:0;padding:0;list-style:none}
.branq-footer-links li{margin:0;padding:0}
.branq-footer-links a{color:var(--text-color);font-family:var(--font-hankenGrotesk);font-size:14px;font-weight:500;line-height:1.5;text-decoration:none;transition:color .25s ease}
.branq-footer-links a:hover{color:var(--primary-color1)}
@media(max-width:1199px){.branq-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-top:0}}
@media(max-width:991px){.branq-contact-box{min-height:170px;padding:23px 21px}.branq-contact-text{font-size:14px}}
@media(max-width:767px){.branq-contact-grid{grid-template-columns:1fr;gap:12px;padding:0 0 30px}.branq-contact-box{min-height:0;padding:21px 20px;gap:15px;border-radius:11px}.branq-contact-icon{width:42px;min-width:42px;height:42px;font-size:17px}.branq-contact-label{margin-bottom:7px;font-size:12px}.branq-contact-text{font-size:14px;line-height:1.6}.branq-footer-bottom{flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:22px 0 105px;text-align:center}.branq-footer-copyright{font-size:13px}.branq-footer-links{justify-content:center;gap:16px 20px}.branq-footer-links a{font-size:13px}}
@media(max-width:480px){.branq-contact-box{padding:19px 17px;gap:13px}.branq-contact-icon{width:40px;min-width:40px;height:40px;font-size:16px}.branq-contact-text{font-size:13.5px;line-height:1.55}.branq-footer-links{gap:12px 17px}}
@media(max-width:375px){.branq-contact-box{padding:17px 15px}.branq-contact-icon{width:38px;min-width:38px;height:38px;font-size:15px}.branq-contact-text{font-size:13px}.branq-footer-copyright{font-size:12.5px}.branq-footer-links a{font-size:12.5px}}
