/* Text logo (brand from domain) */
.text-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  text-decoration: none;
}
.text-logo__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--nexin-base);
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--nexin-font-two);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}
.text-logo__name {
  font-family: var(--nexin-font-two);
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.1;
  letter-spacing: .02em;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
}
.text-logo:hover .text-logo__name {
  color: var(--nexin-base);
}
.mobile-nav__content .logo-box .text-logo__name {
  max-width: 200px;
  font-size: 18px;
}
@media (max-width: 575px) {
  .main-menu-three__logo .text-logo__name {
    max-width: 170px;
  }
}

/* Sticky header: always dark so the white logo stays readable */
.stricky-header.main-menu-three {
  background-color: var(--nexin-black);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* Anchor offsets under the sticky header */
#home, #services, #about, #reperes, #portfolio, #pourquoi, #team,
#testimonials, #blog, #contact {
  scroll-margin-top: 100px;
}

/* Footer legal links */
.footer-widget-three__link a[role="button"] {
  cursor: pointer;
}

/* Legal modals (dark theme sets headings to white) */
.legal-modal .modal-content {
  border-radius: 16px;
  padding: 12px;
  color: #222222;
}
.legal-modal .modal-title,
.legal-modal .modal-body h6 {
  color: #111111;
  font-family: var(--nexin-font-two);
}
.legal-modal .modal-title {
  font-size: 22px;
}
.legal-modal .modal-body h6 {
  font-size: 17px;
  margin: 18px 0 8px;
}
.legal-modal .modal-body h6:first-child {
  margin-top: 0;
}
.legal-modal .modal-body p {
  color: #444444;
  margin-bottom: 12px;
}
.legal-modal .modal-body a {
  color: #111111;
  text-decoration: underline;
}
.legal-modal .modal-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-modal .modal-body li {
  list-style: disc;
  color: #444444;
  margin-bottom: 6px;
}

/* French: undo Title Case (text-transform: capitalize) from the theme */
.about-four__bottom-text-1,
.about-four__bottom-text-2,
.about-four__count-list-text,
.about-four__count-text,
.about-four__text,
.about-four__title-1,
.about-four__top-text,
.about-four__top-title,
.about-one__bottom-title,
.about-one__text,
.about-three__client-text p,
.about-three__progress-box .progress-box .bar-title,
.about-three__text-2,
.about-two__experience-count-text,
.about-two__more-btn a,
.about-two__project-complete p,
.about-two__project-complete p span,
.about-two__text-2,
.blog-details__tag-list a,
.blog-details__title-1,
.blog-list__title,
.blog-one__read-more a,
.blog-one__text,
.blog-one__title,
.blog-two__date>p>span,
.brand-three__curved-circle-box .curved-circle-3,
.contact-one__text,
.contact-page__contact-content h3,
.contact-page__top-title,
.faq-one__inner .faq-one-accrodion .accrodion-content p,
.faq-one__inner .faq-one-accrodion .accrodion-title h4,
.footer-widget-two__link-list li a,
.footer-widget-two__title,
.footer-widget__btn a,
.footer-widget__text,
.footer-widget__title,
.home-showcase__title,
.main-menu .main-menu__list>li>a,
.main-menu .main-menu__list>li>ul>li>a,
.main-menu .main-menu__list>li>ul>li>ul>li>a,
.main-slider__title,
.portfolio-details__title-2,
.portfolio-one__text,
.portfolio-one__view a,
.portfolio-page__title,
.portfolio-three__text,
.portfolio-two__view-all a,
.search-popup .form-group input[type="search"],
.search-popup .form-group input[type="text"],
.section-title-three__title,
.section-title-two__title,
.section-title__title,
.service-one__text,
.service-one__top-text,
.services-details__points-list li p,
.services-details__title-1,
.services-details__title-2,
.services-details__top-title,
.services-three__read-more a,
.services-two__btn-box a,
.services-two__title,
.sidebar__tags-list li a,
.sidebar__title,
.site-footer-two__bottom-menu li a,
.site-footer__bottom-menu li a,
.site-footer__copyright-text,
.sliding-text-two__title,
.sliding-text__title,
.stricky-header .main-menu__list>li>a,
.stricky-header .main-menu__list>li>ul>li>a,
.stricky-header .main-menu__list>li>ul>li>ul>li>a,
.team-details__bottom-title,
.team-details__name h3,
.testimonial-one__text,
.testimonial-three__client-text,
.testimonial-three__right-title,
.testimonial-three__text,
.thm-btn,
.video-two__title,
.why-choose-one__text-1,
.why-choose-one__text-3,
.why-choose-one__text-4,
.why-choose-three__progress-content p,
.xs-sidebar-group .content-inner h4 {
  text-transform: none !important;
}

/* Low percentages (50/30/20): show the value right after the filled part
   so it never overlaps the bar title */
.about-three__progress-box .progress-box .count-box {
  right: auto;
  left: 100%;
  bottom: -9px;
  padding-left: 12px;
  background: var(--nexin-black);
}

/* Footer link columns of different length stay top-aligned */
.footer-widget-three__link-box {
  align-items: flex-start;
}
