/* TECHALION brand overrides on top of the base template CSS.
   Swaps the original wordmark/photography for TECHALION's own mark, palette,
   and initials-avatar fallbacks — the rest of the visual system is untouched. */

/* .heading-sub is the small pill/eyebrow badge (e.g. "What We Do"). It's
   normally a <div>, so it just inherits the 16px body text size — but when
   it's the only heading in a section (e.g. "Featured Works") it needs to be
   a real <h2> for SEO, and styles.css's generic "h2, .h2 { font-size: 48px }"
   typography rule fills in since .heading-section .heading-sub never sets
   its own font-size. Lock it to match every other badge regardless of tag. */
.heading-section .heading-sub {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: normal;
}

/* EN/FR language switcher, header + mobile menu. Small icon-button pill —
   matches the sizing/border treatment already used for .cms-btn-icon in
   the admin dashboard rather than inventing a new visual language. */
/* Groups the lang switch with "Start a Project" as one flex item, so the
   header's own justify-content: space-between (see .header-inner) doesn't
   push them apart from each other along with everything else. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 1px solid var(--neutral-200);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  flex-shrink: 0;
}
.mb-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--neutral-600);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

/* .section-hero.v2's default 180px/446px top/bottom padding was sized for
   the work-detail hero (long title + tagline). The blog hero only ever
   shows a title, so that padding left a huge slab of near-empty video
   above the content — .compact trims it down to roughly proportion. */
.section-hero.compact {
  min-height: auto;
}
.section-hero.compact .content-wrap {
  padding: 160px 0 90px;
}
@media (max-width: 767px) {
  .section-hero.compact .content-wrap {
    padding: 110px 0 60px;
  }
}

/* .social-item is normally an <a>; the "copy link" share action is a
   <button> instead (it has no href to navigate to), so reset the native
   button chrome the browser would otherwise add on top of .social-item's
   own background/sizing. */
button.social-item {
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.logo-site {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: "Avenir", "Urbanist", sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--primary);
  white-space: nowrap;
}

.footer-logo .logo-text,
footer .logo-text {
  font-size: 24px;
  color: #fff;
}

.canvas_head .logo-site .logo-text {
  color: #fff;
  font-size: 22px;
}

/* Fix: open Bootstrap accordion/collapse panels (FAQ + Services) were rendering
   with their content invisible — computed visibility resolved to "collapse"
   (browsers treat that like "hidden" outside of table rows) once a GSAP
   scroll-reveal ancestor finished animating in. Root mechanism wasn't traceable
   to any single stylesheet rule, so we force it explicitly whenever Bootstrap
   has actually opened the panel; `.collapse` without `.show` still gets fully
   hidden via `display: none` from bootstrap.min.css, so this can't leak a panel
   that should stay closed. */
.collapse.show,
.collapse.show * {
  visibility: visible;
}

/* About Us — left column copy (badge, two-tone heading, body copy) */
.about-copy {
  max-width: 560px;
}
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 7px 16px 7px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--neutral-200);
  border-radius: 99px;
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--primary);
}
.about-badge .dot {
  position: relative;
  display: flex;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background-color: var(--brand);
}
.about-badge .dot::before {
  position: absolute;
  content: "";
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(15, 97, 242, 0.25);
  border-radius: 50%;
  animation: rippleFade 1.8s ease-out infinite;
}
.about-heading {
  display: flex;
  background: linear-gradient(1deg, #8c8c8c 10%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-stroke: 0px transparent;
    -webkit-text-fill-color: transparent;
  flex-direction: column;
  font-family: "Avenir", "Urbanist", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-text p {
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* Logo reveal — full-bleed video moment between the partner strip and the
   services block. The inner wrapper is taller than the viewport clip so the
   scroll-tied parallax (translate + scale, see logoVideoParallax in
   gsapAnimation.js) never exposes empty edges. */
.section-logo-reveal {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  height: 40vh;
  min-height: 320px;
  max-height: 760px;
  margin: 16px;
  border-radius: 31px;
}
.section-logo-reveal .video-wrap {
  position: absolute;
  inset: -10% 0;
  height: 120%;
}
.section-logo-reveal .video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog card image hover — mirrors .featured-works-item's "View Project"
   pill (diagonal wipe + centered CTA fading in on hover), applied to the
   blog card's "Read Article" so both sections share the same hover
   language instead of a permanently-visible button under the card. */
.article-blog .blog-image {
  position: relative;
  display: block;
  overflow: hidden;
}
.article-blog .blog-image:after {
  content: "";
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 1;
  pointer-events: none;
}
.article-blog .blog-image .view-article {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  letter-spacing: 0.01em;
  color: var(--white);
  padding: 16px 24px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(44px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
}
.article-blog .blog-image .view-article .icon {
  font-size: 24px;
}
.article-blog:hover .blog-image:after {
  height: 250%;
  transition: all 600ms linear;
  background-color: transparent;
}
.article-blog:hover .blog-image .view-article {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 767px) {
  .article-blog .blog-image .view-article {
    top: 15px;
    left: 15px;
    transform: none;
    gap: 5px;
    padding: 7px 13px;
    opacity: 1;
    visibility: visible;
    font-size: 14px;
    line-height: 20px;
  }
  .article-blog .blog-image .view-article .icon {
    font-size: 14px;
  }
}

/* Initials fallback used in place of stock team photography */
.avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), #001487);
  color: #fff;
  font-family: "Avenir", "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.02em;
}
