.join-theme-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: 24px; margin-right: 24px; padding: 9px 14px; border: 1px solid #d8d5d0; border-radius: 999px; background: #fff; color: #242424; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; cursor: pointer; white-space: nowrap; }
.join-theme-toggle:focus-visible { outline: 3px solid #fdbb2e; outline-offset: 3px; }
.join-theme-icon { font-size: 18px; line-height: 1; }
.alsha-dark-footer { display: none; }
html[data-join-theme="dark"] .alsha-original-footer { display: none; }
html[data-join-theme="dark"] .alsha-dark-footer { display: block; background: #090909; }
html[data-join-theme="dark"] .alsha-dark-footer .px-footer-widget-title,
html[data-join-theme="dark"] .alsha-dark-footer .px-footer-widget-title-sm,
html[data-join-theme="dark"] .alsha-dark-footer .px-footer-widget-info a { color: #fff; }
html[data-join-theme="dark"] .alsha-dark-footer .px-copyright-big-text { color: #ffb82f; }
html[data-join-theme="dark"] { color-scheme: dark; }
html[data-join-theme="dark"] body, html[data-join-theme="dark"] #smooth-content, html[data-join-theme="dark"] main { background: #17181b; color: #f5f2ed; }
html[data-join-theme="dark"] #smooth-wrapper, html[data-join-theme="dark"] .px-hero-5-area, html[data-join-theme="dark"] .px-step-item, html[data-join-theme="dark"] .px-step-bottom { background-color: #17181b !important; }
html[data-join-theme="dark"] main h1, html[data-join-theme="dark"] main h2, html[data-join-theme="dark"] main h3, html[data-join-theme="dark"] main h4, html[data-join-theme="dark"] main h5, html[data-join-theme="dark"] .px-hero-5-social a, html[data-join-theme="dark"] .px-hero-5-category a, html[data-join-theme="dark"] .px-hero-5-area p { color: #f6f3ed !important; }
html[data-join-theme="dark"] .px-step-card h1, html[data-join-theme="dark"] .px-step-card h2, html[data-join-theme="dark"] .px-step-card h3, html[data-join-theme="dark"] .px-step-card h4, html[data-join-theme="dark"] .px-step-card p { color: #1a1a1a !important; }
html[data-join-theme="dark"] .px-header-area, html[data-join-theme="dark"] .header-fixed.sticky-bg::after { background: #17181b !important; }
html[data-join-theme="dark"] .px-header-area { border-bottom: 1px solid rgba(255, 255, 255, .08); }
html[data-join-theme="dark"] .px-header-logo a { position: relative; display: inline-block; }
html[data-join-theme="dark"] .px-header-logo a img { filter: brightness(0) invert(1); }
html[data-join-theme="dark"] .px-header-logo a::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url('../img/logo/logo-orange.png') center / 100% 100% no-repeat; clip-path: inset(0 69% 0 0); }
html[data-join-theme="dark"] .px-header-menu > nav > ul > li > a, html[data-join-theme="dark"] .tp-section-title, html[data-join-theme="dark"] .tp-section-subtitle, html[data-join-theme="dark"] main h1, html[data-join-theme="dark"] main h2, html[data-join-theme="dark"] main label, html[data-join-theme="dark"] main strong { color: #f6f3ed !important; }
html[data-join-theme="dark"] main p, html[data-join-theme="dark"] main small { color: #c4c0b9; }
html[data-join-theme="dark"] .px-capsule-subtitle, html[data-join-theme="dark"] .px-step-bottom-text span, html[data-join-theme="dark"] .px-step-num span { color: #d8d2c9 !important; }
html[data-join-theme="dark"] .px-brand-style-5 .px-brand-item { background: #1e1f23; border: 1px solid #3a3834; transition: background .2s ease, border-color .2s ease; }
html[data-join-theme="dark"] .px-brand-style-5 .px-brand-item:hover { background: #29251e; border-color: #d79b32; }
html[data-join-theme="dark"] .px-brand-style-5 .px-brand-item img { filter: grayscale(1) brightness(0) invert(1); opacity: .86; }
html[data-join-theme="dark"] .px-about-4-content p, html[data-join-theme="dark"] .px-about-4-content p span { color: #d4d0c9 !important; }
html[data-join-theme="dark"] .px-about-4-content .px-about-4-link, html[data-join-theme="dark"] .px-about-4-content .px-about-4-link span { color: #ffca68 !important; }
html[data-join-theme="dark"] .px-about-4-content .px-about-4-link:hover, html[data-join-theme="dark"] .px-about-4-content .px-about-4-link:hover span { color: #fff !important; }
html[data-join-theme="dark"] .px-service-5-item { height: calc(100% - 25px); min-height: 315px; padding: 30px; border: 1px solid #393a3e; border-radius: 18px; background: #222327; transition: border-color .2s ease, transform .2s ease; }
html[data-join-theme="dark"] .px-service-5-item:hover { border-color: #c49442; transform: translateY(-3px); }
html[data-join-theme="dark"] .px-service-5-icon { margin-bottom: 26px; }
html[data-join-theme="dark"] .px-service-5-icon img { width: 52px; height: auto; }
html[data-join-theme="dark"] .px-service-5-content { flex: 1; margin-bottom: 26px; }
html[data-join-theme="dark"] .px-service-5-title { line-height: 1.22; margin-bottom: 18px; }
html[data-join-theme="dark"] .px-service-5-title a { color: #f5f2ed; }
html[data-join-theme="dark"] .px-service-5-tags { display: flex; flex-wrap: wrap; gap: 7px; align-content: flex-start; }
html[data-join-theme="dark"] .px-service-5-tags span { display: inline-block; color: #d5d0c8; background: #303136; border-radius: 999px; padding: 5px 10px; font-size: 13px; line-height: 1.3; }
html[data-join-theme="dark"] .px-capsule-item { color: #17181b !important; }
html[data-join-theme="dark"] .px-capsule-area .px-line-shape.px-line-bg-black { display: none; }
html[data-join-theme="dark"] .px-hero-4-video img[alt="Alsha design-copyright"] { filter: brightness(0) invert(1); }
html[data-join-theme="dark"] .alsha-barcode-mark { display: inline-block; position: relative; line-height: 0; }
html[data-join-theme="dark"] .alsha-barcode-mark::after { content: ""; position: absolute; inset: 0; background: #ffb82f; -webkit-mask: url('../img/shape/shape-1.png') center / 100% 100% no-repeat; mask: url('../img/shape/shape-1.png') center / 100% 100% no-repeat; clip-path: inset(40% 0 0 0); pointer-events: none; }
html[data-join-theme="dark"] .px-service-5-link a { color: #ffcf6b !important; }
html[data-join-theme="dark"] .px-service-5-link a:hover { color: #ffffff !important; }
html[data-join-theme="dark"] .px-project-5-title-sm, html[data-join-theme="dark"] .px-project-5-title-sm a { color: #f5f2ed; }
html[data-join-theme="dark"] .px-project-5-content span { color: #c4c0b9; }
html[data-join-theme="dark"] .px-project-5-content span::before { background-color: #c4c0b9; }
html[data-join-theme="dark"] .ar-testimonial-client-name, html[data-join-theme="dark"] .ar-testimonial-fraction-wrap .swiper-pagination-fraction span { color: #f5f2ed; }
html[data-join-theme="dark"] .ar-testimonial-client-info span { color: #c4c0b9; }
html[data-join-theme="dark"] .ar-testimonial-arrow button { color: #f5f2ed; border-color: #777; }
html[data-join-theme="dark"] .px-award-category span, html[data-join-theme="dark"] .px-award-num span, html[data-join-theme="dark"] .px-award-nomination span, html[data-join-theme="dark"] .px-award-year span { color: #f5f2ed !important; }
html[data-join-theme="dark"] .px-award-item { border-color: rgba(255,255,255,.16) !important; }
html[data-join-theme="dark"] .px-step-video video { mix-blend-mode: screen; filter: invert(1) brightness(.8); }
html[data-join-theme="dark"] .px-social-shape { display: block; width: 100%; height: 2px; background: #ffb82f; transform: none; }
html[data-join-theme="dark"] .px-social-shape svg { display: none; }
html[data-join-theme="dark"] .px-text-slider-style-5 .px-btn-zikzak .zikzak-bg path { fill: #17181b; }
html[data-join-theme="dark"] .swiper-wrapper.slide-transtion .px-text-slider-item .px-btn-zikzak .btn-text { color: #fff !important; }
html[data-join-theme="dark"] .px-text-slider-area > .px-line-shape { display: none; }
html[data-join-theme="dark"] .design-footer-bg { background: #222328; border: 1px solid #35363b; }
html[data-join-theme="dark"] .design-footer-top-text .px-section-title, html[data-join-theme="dark"] .design-footer-widget-title, html[data-join-theme="dark"] .design-footer-widget-info a, html[data-join-theme="dark"] .design-copyright-text p, html[data-join-theme="dark"] .design-copyright-backtoTop a { color: #f5f2ed !important; }
html[data-join-theme="dark"] .design-footer-widget-title.sm { color: #c5bfb6 !important; }
html[data-join-theme="dark"] .design-footer-top-wrap, html[data-join-theme="dark"] .design-footer-middle { border-color: rgba(255,255,255,.14); }
html[data-join-theme="dark"] .design-footer-widget-input input { color: #f5f2ed; border-color: #65646a; }
html[data-join-theme="dark"] .design-footer-widget-input input::placeholder { color: #bdb9b3; }
html[data-join-theme="dark"] .design-footer-top-btn .px-btn-black { background: #ffbb2c; color: #17181b; }
html[data-join-theme="dark"] .px-header-bar span { background: #f6f3ed; }
html[data-join-theme="dark"] .join-theme-toggle { background: #252525; border-color: #4a4742; color: #f6f3ed; }
html[data-join-theme="dark"] #join-form input:not([type="file"]), html[data-join-theme="dark"] #join-form textarea { background: #242424; border: 1px solid #55514a; color: #fff; }
html[data-join-theme="dark"] #join-form input::placeholder, html[data-join-theme="dark"] #join-form textarea::placeholder { color: #b6b0a8; }
html[data-join-theme="dark"] #join-form input:focus, html[data-join-theme="dark"] #join-form textarea:focus { border-color: #ffbb2c; outline: 2px solid #ffbb2c; outline-offset: 2px; }
html[data-join-theme="dark"] #join-cv { color: #e4dfd7; }
html[data-join-theme="dark"] .tp-contact-form-input input, html[data-join-theme="dark"] .tp-contact-form-input textarea { background: #242428; border-color: #59595e; color: #f5f2ed; }
html[data-join-theme="dark"] .tp-contact-form-input input::placeholder, html[data-join-theme="dark"] .tp-contact-form-input textarea::placeholder { color: #c4c0b9; }
html[data-join-theme="dark"] .px-header-menu .tp-submenu { background: #242428; }
html[data-join-theme="dark"] .px-header-menu .tp-submenu a { color: #f5f2ed; }
@media (max-width: 575px) { .join-theme-toggle { margin-left: 0; margin-right: 12px; padding: 8px 11px; } .join-theme-label { font-size: 12px; } }

/* Floating, accessible theme switch */
.join-theme-toggle { position: fixed; left: 20px; bottom: 20px; z-index: 998; display: flex; justify-content: center; align-items: center; width: 52px; height: 52px; margin: 0; padding: 0; border: 1px solid #d6d1c8; border-radius: 50%; background: #fff; color: #242424; box-shadow: 0 4px 18px rgba(0,0,0,.22); }
.join-theme-toggle .join-theme-icon { font-size: 25px; line-height: 1; }
html[data-join-theme="dark"] .join-theme-toggle { background: #242428; color: #ffbd42; border-color: #615c53; }
html[data-join-theme="dark"] .tp-offcanvas-wrapper.offcanvas-white-bg { background: #1c1d20; }
html[data-join-theme="dark"] .tp-offcanvas-title, html[data-join-theme="dark"] .tp-offcanvas-title.sm, html[data-join-theme="dark"] .tp-offcanvas-close-btn, html[data-join-theme="dark"] .tp-offcanvas-menu a, html[data-join-theme="dark"] .tp-offcanvas-social ul li a { color: #f6f3ed; }
html[data-join-theme="dark"] .tp-offcanvas-content p, html[data-join-theme="dark"] .tp-offcanvas-contact ul li a { color: #d4d0c9; }
html[data-join-theme="dark"] .tp-offcanvas-logo a { display: inline-block; position: relative; }
html[data-join-theme="dark"] .tp-offcanvas-logo img { filter: brightness(0) invert(1); }
html[data-join-theme="dark"] .tp-offcanvas-logo a::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url('../img/logo/logo-orange.png') center / 100% 100% no-repeat; clip-path: inset(0 69% 0 0); }
html[data-join-theme="dark"] .tp-offcanvas-social ul li a { border-color: #676767; }
@media (max-width: 575px) { .join-theme-toggle { left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; margin: 0; padding: 0; } }

/* Keep services visible and reachable on phones and tablets. */
.alsha-mobile-services { display: none; }
@media (max-width: 1199px) {
  .alsha-mobile-services { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: #242424; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; }
  html[data-join-theme="dark"] .alsha-mobile-services { color: #f6f3ed; }
  .px-header-bar { margin-left: 12px; }
  .tp-offcanvas-menu .tp-menu-close { min-width: 44px; min-height: 44px; top: 0; }
  html[data-join-theme="dark"] .tp-offcanvas-menu .tp-menu-close, html[data-join-theme="dark"] .tp-offcanvas-menu .tp-menu-close i { color: #f6f3ed; }
  html[data-join-theme="dark"] .tp-offcanvas-menu ul li.active > a { color: #ffca68; }
}

/* Alsha icon for the theme control in both modes. */
.join-theme-toggle .join-theme-icon { display: block; width: 26px; height: 26px; overflow: hidden; color: transparent; font-size: 0 !important; background-image: url('../img/logo/logo-orange.png'); background-repeat: no-repeat; background-position: left center; background-size: 329.3% 100%; }
/* Keep the primary navigation visible on phones and tablets. */
@media (max-width: 1199px) {
  .px-header-area .px-header-menu { display: block !important; position: absolute; left: 0; right: 0; top: 100%; width: 100%; background: #fff; border-top: 1px solid #e3e0db; border-bottom: 1px solid #e3e0db; }
  .px-header-area .px-header-menu > nav > ul { display: flex; align-items: center; justify-content: space-around; gap: 4px; margin: 0; padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
  .px-header-area .px-header-menu > nav > ul::-webkit-scrollbar { display: none; }
  .px-header-area .px-header-menu > nav > ul > li { flex: 0 0 auto; margin: 0 !important; }
  .px-header-area .px-header-menu > nav > ul > li > a { display: flex; align-items: center; min-height: 44px; padding: 0 3px; font-size: clamp(10px, 2.7vw, 13px); line-height: 1; white-space: nowrap; }
  .px-header-area .px-header-menu > nav > ul > li.has-dropdown > a::after { display: none; }
  .px-header-area .px-header-menu .tp-submenu { display: none !important; }
  .alsha-mobile-services { display: none; }
  html[data-join-theme="dark"] .px-header-area .px-header-menu { background: #17181b; border-color: #393a3e; }
}

/* Service illustrations remain visible without WebGL. */
.px-portfolio-thumb img[src*="/services-illustrations/"] { display: block; width: 100%; height: auto; aspect-ratio: 12 / 7; object-fit: cover; }
@media (max-width: 1199px) {
  body.home .px-header-area, body.home .px-header-area .px-header-menu { background: #fff5f3; }
  body.home .px-header-area .px-header-menu { border-color: rgba(30, 30, 30, .12); }
  html[data-join-theme="dark"] body.home .px-header-area, html[data-join-theme="dark"] body.home .px-header-area .px-header-menu { background: #17181b; border-color: #393a3e; }
  body.home .px-hero-5-pt { padding-top: 160px; }
}
@media (max-width: 767px) {
  .px-portfolio-item .px-portfolio-category:not(.portfolio-meta) { display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 100px); }
  .px-portfolio-item .px-portfolio-category span { margin: 0; }
  .px-portfolio-item .px-portfolio-category.portfolio-meta { right: 15px; }
  .px-portfolio-item .px-portfolio-title { font-size: clamp(36px, 11vw, 60px); line-height: 1; }
}
