/* Andes Broker — contrast + layout-safe media fixes */

/* ========== HERO: dark overlay + white text (readable) ========== */
.rts-banner-area-eight.banner-bg_eight {
  background-position: center center;
  background-size: cover;
}
.rts-banner-area-eight.banner-bg_eight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 18, 28, 0.82) 0%,
    rgba(12, 18, 28, 0.68) 45%,
    rgba(12, 18, 28, 0.45) 100%
  );
  pointer-events: none;
  z-index: 0;
}
/* Keep stacking without breaking absolute counter */
.rts-banner-area-eight.banner-bg_eight > .container {
  position: relative;
  z-index: 2;
}
.rts-banner-area-eight .rts-counter-up-area-eight {
  z-index: 3;
}
.rts-banner-area-eight .banner-shape-area {
  z-index: -1; /* original template value */
}

.banner-inner-content-eight .title,
.banner-inner-content-eight .title span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-text-stroke: 0 !important;
}
.banner-inner-content-eight p.disc {
  color: rgba(255, 255, 255, 0.88) !important;
}
.banner-inner-content-eight .pre-title-area {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}
.banner-inner-content-eight .pre-title-area p {
  color: #ffffff !important;
}

/* Transparent header over dark hero — never blend */
.header-one.top-transparent-header {
  z-index: 100;
}
.header-one.top-transparent-header:not(.sticky) {
  background: rgba(8, 12, 20, 0.92);
}
.header-one.top-transparent-header:not(.sticky) .header-top-area-wrapper {
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
  background: transparent !important;
}
.header-one.top-transparent-header:not(.sticky) .header-top-area-wrapper,
.header-one.top-transparent-header:not(.sticky) .header-top-area-wrapper *,
.header-one.top-transparent-header:not(.sticky) .header-top-area-wrapper .header-top-one-wrapper .right p,
.header-one.top-transparent-header:not(.sticky) .header-top-area-wrapper .header-top-one-wrapper .right p a,
.header-one.top-transparent-header:not(.sticky) .header-top-area-wrapper .header-top-one-wrapper .right p a i,
.header-one.top-transparent-header:not(.sticky) .header-top-area-wrapper .header-top-one-wrapper .left a,
.header-one.top-transparent-header:not(.sticky) .header-top-area-wrapper .header-top-one-wrapper .left a i {
  color: #ffffff !important;
}
.header-one.top-transparent-header:not(.sticky) .nav-area ul li a,
.header-one.top-transparent-header:not(.sticky) .nav-area ul li.main-nav > a,
.header-one.top-transparent-header:not(.sticky) .main-nav > a {
  color: #ffffff !important;
}
.header-one.top-transparent-header:not(.sticky) .site-logo-text {
  color: #ffffff !important;
}
.header-one.top-transparent-header:not(.sticky) .menu-btn .menu-light,
.header-one.top-transparent-header:not(.sticky) button.menu img {
  filter: brightness(0) invert(1);
}

/* Sticky header: solid bar + dark text */
.header-one.header--sticky.sticky {
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(12, 18, 28, 0.08);
}
.header-one.header--sticky.sticky .nav-area ul li a,
.header-one.header--sticky.sticky .main-nav > a,
.header-one.header--sticky.sticky .site-logo-text {
  color: #1c2539 !important;
}
.header-one.header--sticky.sticky .header-top-area-wrapper,
.header-one.header--sticky.sticky .header-top-area-wrapper * {
  color: #1c2539 !important;
}
.header-one.header--sticky.sticky button.menu img {
  filter: none;
}

/* ========== ABOUT (dark section): force light text ========== */
.rts-about-us-area-8 .title,
.rts-about-us-area-8 .title span,
.rts-about-us-area-8 span.pre,
.rts-about-us-area-8 .single-counter-up .title,
.rts-about-us-area-8 .number-area-start .number {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.rts-about-us-area-8 p.disc,
.rts-about-us-area-8 .single-counter-up p.bottom,
.rts-about-us-area-8 .number-area-start span {
  color: #c5cad3 !important;
}

/* ========== CTA ========== */
.rts-subscribe-area-8 {
  background-position: center center;
  background-size: cover;
  position: relative;
}
.rts-subscribe-area-8::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.82);
  pointer-events: none;
  z-index: 0;
}
.rts-subscribe-area-8 > .container {
  position: relative;
  z-index: 1;
}
.rts-subscribe-area-8 .title-style-one .pre,
.rts-subscribe-area-8 .title-style-one .title,
.rts-subscribe-area-8 .title-style-one .title span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ========== FOOTER ========== */
.footer-8-area-bg {
  background-position: center center;
  background-size: cover;
  position: relative;
}
.footer-8-area-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.9);
  pointer-events: none;
  z-index: 0;
}
.footer-8-area-bg > .container,
.footer-8-area-bg > .copyright-area-main-wrapper {
  position: relative;
  z-index: 1;
}
.footer-8-area-bg .wized-title .title,
.footer-8-area-bg .copyright-8-wrapper p,
.footer-8-area-bg .copyright-8-wrapper a {
  color: #ffffff !important;
}
.footer-8-area-bg .footer-logo-area-left-8 p.disc,
.footer-8-area-bg .quick-link-inner .links li a,
.footer-8-area-bg .signle-footer-contact-8 .inner-content a {
  color: #b8c0c8 !important;
}
.footer-8-area-bg .signle-footer-contact-8 .inner-content .title {
  color: #ffffff !important;
}

/* ========== Light sections: solid dark headings (no outline-only spans) ========== */
.our-experties-area .title-style-one .title,
.our-experties-area .title-style-one .title span,
.rts-business-case-area .title-style-one .title,
.rts-business-case-area .title-style-one .title span,
.rts-why-choose-area .title-style-one .title,
.rts-why-choose-area .title-style-one .title span,
.rts-testimonials-area .title-style-one .title,
.rts-testimonials-area .title-style-one .title span,
.rts-blog-area .title-style-one .title,
.rts-blog-area .title-style-one .title span,
.rts-service-area-start .title-style-one .title,
.rts-service-area-start .title-style-one .title span {
  color: #141416 !important;
  -webkit-text-fill-color: #141416 !important;
  -webkit-text-stroke: 0 !important;
}
.our-experties-area .title-style-one .pre,
.rts-business-case-area .title-style-one .pre,
.rts-why-choose-area .title-style-one .pre,
.rts-testimonials-area .title-style-one .pre,
.rts-blog-area .title-style-one .pre,
.rts-service-area-start .title-style-one .pre {
  color: #4a5560 !important;
}
.rts-service-area-start .title-style-one p.disc,
.rts-why-choose-area .information p.disc,
.rts-testimonials-area .testimonails-inner-content p.disc {
  color: #3a434c !important;
}

/* ========== Media: no squash ========== */
.single-case-studies-four .thumbnail {
  display: block;
  overflow: hidden;
  aspect-ratio: 810 / 852;
}
.single-case-studies-four .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.single-blog-area-one .thumbnail {
  display: block;
  overflow: hidden;
  aspect-ratio: 410 / 303;
}
.single-blog-area-one .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.thumbnail-why-choose-8 img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.counter-up-area-eight-banner-bottom {
  position: relative;
}
.counter-up-area-eight-banner-bottom .absolute-image img {
  max-width: 100%;
  height: auto;
  display: block;
  background: transparent;
}
.rts-about-us-area-8 .right-content-image .large-image {
  max-width: 100%;
  height: auto;
  display: block;
  background: transparent;
}
.author-area .avatar img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.circle-text img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Text logo = campaign domain */
.site-logo-text {
  display: inline-block;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: lowercase;
  white-space: nowrap;
}
.side-bar .site-logo-text {
  color: #0c121c !important;
}
.footer-8-area-bg .site-logo-text {
  color: #ffffff !important;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
