/* ByteX Brand Theme
   Loads AFTER styles.css, so these rules safely override the original template.
   Brand palette:
   True Pink  : #FD1843
   Chill White: #FFF9FA
*/

:root {
  --color-accent: #FD1843;
  --color-secondary: #FD1843;
  --color-background: #1A0D12;
  --color-white: #FFF9FA;
  --color-ink: #1A0D12;

  --bytex-pink: #FD1843;
  --bytex-dark: #1A0D12;
  --bytex-soft-pink: #FFE8ED;
  --bytex-white: #FFF9FA;

  --bs-white: #FFF9FA;
  --bs-white-rgb: 255, 249, 250;
  --bs-black: #1A0D12;
  --bs-black-rgb: 26, 13, 18;
  --bs-dark: #1A0D12;
  --bs-dark-rgb: 26, 13, 18;
  --bs-light: #FFF9FA;
  --bs-light-rgb: 255, 249, 250;
  --bs-body-bg: #1A0D12;
  --bs-body-color: #FFF9FA;
  --bs-link-color: #FD1843;
  --bs-link-hover-color: #FFF9FA;
}

/* =========================================================
   DEFAULT / PINK THEME
   Pink replaces the template's black surfaces.
   Chill White replaces the template's white surfaces.
   ========================================================= */

body {
  background: var(--bytex-dark);
  color: var(--bytex-white);
}

body .mil-text,
body p {
  color: rgba(255, 249, 250, 0.82);
}

a {
  color: inherit;
}

a:hover {
  color: var(--bytex-white);
}

body .sub-bg {
  background: rgba(255, 249, 250, 0.05);
}

.bg-light {
  background: var(--bytex-white) !important;
  color: var(--bytex-pink) !important;
}

.bg-light .mil-text,
.bg-light p {
  color: rgba(253, 24, 67, 0.78);
}

.main-colorbg {
  background-color: var(--bytex-white) !important;
  color: var(--bytex-pink) !important;
}

.main-colorbg.text-dark,
.text-dark {
  color: var(--bytex-pink) !important;
}

/* Header / navigation */
.navbar-nav {
  background: rgba(26, 13, 18, 0.88);
  border: 1px solid rgba(255, 249, 250, 0.18);
}

.dark-mode-icon .theme-icon {
  background: rgba(26, 13, 18, 0.88);
  border-color: rgba(255, 249, 250, 0.22);
  color: var(--bytex-white);
}

.topnav .menu-icon svg {
  fill: var(--bytex-white);
}

.navbar.mil-sticky {
  background: var(--bytex-dark);
}

.hamenu {
  background: var(--bytex-dark) !important;
  color: var(--bytex-white);
}

.hamenu .cont-info {
  color: var(--bytex-white);
  border-left-color: rgba(255, 249, 250, 0.24);
}

.hamenu .menu-links .main-menu > li .link .fill-text {
  color: rgba(255, 249, 250, 0.38);
}

.hamenu .menu-links .main-menu > li .link .fill-text:after {
  color: var(--bytex-white);
}

.hamenu .menu-links .main-menu > li .link i:before,
.hamenu .menu-links .main-menu > li .link i:after {
  background: var(--bytex-white);
}

/* Loader */
.loader-wrap svg {
  fill: var(--bytex-dark);
}

.loader-wrap .loader-wrap-heading .load-text {
  color: var(--bytex-white);
}

.loader-wrap .loader-wrap-heading .load-text:not(.load-img):after {
  background: var(--bytex-dark);
}

/* Focus / accessibility */
.navbar-menu-btn:focus-visible,
.close-menu:focus-visible,
.theme-icon:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline-color: var(--bytex-white);
}

/* Hero */
.tags-style1 a {
  border-color: rgba(255, 249, 250, 0.42);
}

.tags-style1 a:hover {
  background: var(--bytex-white);
  color: var(--bytex-pink);
}

.circle-button .textcircle {
  fill: var(--bytex-white);
}

/* Section borders */
.sec-head.bord {
  border-color: rgba(255, 249, 250, 0.25);
}

/* Buttons */
.butn-arrow {
  color: var(--bytex-pink);
  background: var(--bytex-white);
  border-color: rgba(255, 249, 250, 0.5);
}

.butn-arrow .arrow-icon,
.butn-more .arrow-icon {
  background: var(--bytex-dark);
  color: var(--bytex-white);
}

.butn-arrow .arrow-icon svg,
.butn-more .arrow-icon svg {
  stroke: var(--bytex-white);
}

.butn-arrow:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--bytex-dark);
  color: var(--bytex-white);
  border-color: var(--bytex-white);
}

.butn-arrow:hover .arrow-icon {
  background: var(--bytex-white);
  color: var(--bytex-pink);
}

.butn-arrow:hover .arrow-icon svg {
  stroke: var(--bytex-pink);
}

.butn-arrow.main-colorbg {
  background: var(--bytex-white) !important;
  color: var(--bytex-pink) !important;
}

/* Portfolio / solutions */
.hr-sec .fit-img .cont .tags span {
  background: var(--bytex-white);
  color: var(--bytex-pink);
}

.hr-sec .item-panel .butn-arrow {
  background: var(--bytex-white);
  color: var(--bytex-pink);
  border-color: rgba(255, 249, 250, 0.55);
}

.hr-sec .item-panel .butn-arrow .arrow-icon {
  background: var(--bytex-dark);
}

.hr-sec .item-panel .butn-arrow .arrow-icon svg {
  stroke: var(--bytex-white);
}

/* Service / feature cards */
.serv-style4 .item,
.numbers .item {
  border-color: rgba(255, 249, 250, 0.28);
}

.features .item {
  background: rgba(255, 249, 250, 0.08);
}

.features .item.bg-light {
  background: var(--bytex-white) !important;
  color: var(--bytex-pink) !important;
}

.features .item.bg-light p {
  color: rgba(253, 24, 67, 0.76);
}

.features .item.bg-light.main-colorbg {
  background: var(--bytex-white) !important;
}

/* Marquee */
.main-marq .box:last-of-type .item:nth-of-type(odd) .h4 a {
  color: transparent;
  -webkit-text-stroke: 1px var(--bytex-white);
}

.main-marq:after {
  background: linear-gradient(
    to left,
    var(--bytex-pink),
    transparent 250px,
    transparent calc(100% - 250px),
    var(--bytex-pink)
  );
}

/* Testimonial / vision-mission slider */
.testim-style1 .thumb-side .swiper-button-prev,
.testim-style1 .thumb-side .swiper-button-next {
  border-color: rgba(255, 249, 250, 0.28);
}

.testim-style1 .thumb-side .swiper-button-prev:hover,
.testim-style1 .thumb-side .swiper-button-next:hover {
  background: var(--bytex-white);
  color: var(--bytex-pink);
}

.testim-style1.sub-bg {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 249, 250, 0.08)
  );
}

.cls-1 {
  fill: var(--bytex-white) !important;
}

/* Roadmap / award layout */
.awards-reval .item-row {
  border-color: rgba(255, 249, 250, 0.24);
}

/* Footer */
.fo-box-left,
.fo-box-right {
  background: rgba(255, 249, 250, 0.08);
}

.fo-subscribe .mf-input-wrapper input {
  background: rgba(255, 249, 250, 0.10);
  color: var(--bytex-white);
  border: 1px solid rgba(255, 249, 250, 0.18);
}

.fo-subscribe .mf-input-wrapper input::placeholder {
  color: rgba(255, 249, 250, 0.60);
}

.fo-box-right .mf-widget-container svg path {
  fill: var(--bytex-white) !important;
}

/* =========================================================
   LIGHT THEME
   Chill White becomes the page background.
   True Pink becomes text, buttons and key UI.
   ========================================================= */

body.light {
  background: var(--bytex-white);
  color: var(--bytex-pink);
}

body.light .mil-text,
body.light p {
  color: rgba(253, 24, 67, 0.76);
}

body.light .sub-bg {
  background: rgba(253, 24, 67, 0.06);
}

body.light .bg-light {
  background: var(--bytex-pink) !important;
  color: var(--bytex-white) !important;
}

body.light .bg-light .mil-text,
body.light .bg-light p {
  color: rgba(255, 249, 250, 0.82);
}

body.light .main-colorbg {
  background: var(--bytex-pink) !important;
  color: var(--bytex-white) !important;
}

body.light .main-colorbg.text-dark,
body.light .text-dark {
  color: var(--bytex-white) !important;
}

/* Light header / navigation */
body.light .navbar-nav,
body.light .dark-mode-icon .theme-icon {
  background: var(--bytex-dark);
  color: var(--bytex-white);
  border-color: rgba(253, 24, 67, 0.18);
}

body.light .topnav .menu-icon svg {
  fill: var(--bytex-dark);
}

body.light .navbar.mil-sticky {
  background: var(--bytex-white);
}

body.light .hamenu {
  background: var(--bytex-white) !important;
  color: var(--bytex-pink);
}

body.light .hamenu .cont-info {
  color: var(--bytex-pink);
  border-left-color: rgba(253, 24, 67, 0.20);
}

body.light .hamenu .menu-links .main-menu > li .link .fill-text {
  color: rgba(253, 24, 67, 0.35);
}

body.light .hamenu .menu-links .main-menu > li .link .fill-text:after {
  color: var(--bytex-pink);
}

body.light .hamenu .menu-links .main-menu > li .link i:before,
body.light .hamenu .menu-links .main-menu > li .link i:after {
  background: var(--bytex-dark);
}

/* Light loader */
body.light .loader-wrap svg {
  fill: var(--bytex-white);
}

body.light .loader-wrap .loader-wrap-heading .load-text {
  color: var(--bytex-pink);
}

body.light .loader-wrap .loader-wrap-heading .load-text:not(.load-img):after {
  background: var(--bytex-white);
}

/* Light focus */
body.light .navbar-menu-btn:focus-visible,
body.light .close-menu:focus-visible,
body.light .theme-icon:focus-visible,
body.light a:focus-visible,
body.light [role="button"]:focus-visible {
  outline-color: var(--bytex-pink);
}

/* Light hero */
body.light .tags-style1 a {
  border-color: rgba(253, 24, 67, 0.36);
}

body.light .tags-style1 a:hover {
  background: var(--bytex-dark);
  color: var(--bytex-white);
}

body.light .circle-button .textcircle {
  fill: var(--bytex-dark);
}

body.light .sec-head.bord {
  border-color: rgba(253, 24, 67, 0.22);
}

/* Light buttons */
body.light .butn-arrow {
  background: var(--bytex-dark);
  color: var(--bytex-white);
  border-color: var(--bytex-pink);
}

body.light .butn-arrow .arrow-icon,
body.light .butn-more .arrow-icon {
  background: var(--bytex-white);
  color: var(--bytex-pink);
}

body.light .butn-arrow .arrow-icon svg,
body.light .butn-more .arrow-icon svg {
  stroke: var(--bytex-pink);
}

body.light .butn-arrow:hover,
body.light button[type="submit"]:hover,
body.light input[type="submit"]:hover {
  background: var(--bytex-white);
  color: var(--bytex-pink);
  border-color: var(--bytex-pink);
}

body.light .butn-arrow:hover .arrow-icon {
  background: var(--bytex-dark);
  color: var(--bytex-white);
}

body.light .butn-arrow:hover .arrow-icon svg {
  stroke: var(--bytex-white);
}

body.light .butn-arrow.main-colorbg {
  background: var(--bytex-pink) !important;
  color: var(--bytex-white) !important;
}

body.light .butn-arrow.main-colorbg:hover {
  background: var(--bytex-white) !important;
  color: var(--bytex-pink) !important;
}

/* Light portfolio */
body.light .hr-sec .fit-img .cont .tags span {
  background: var(--bytex-white);
  color: var(--bytex-pink);
}

body.light .hr-sec .item-panel .butn-arrow {
  background: var(--bytex-white);
  color: var(--bytex-pink);
  border-color: rgba(253, 24, 67, 0.25);
}

body.light .hr-sec .item-panel .butn-arrow .arrow-icon {
  background: var(--bytex-dark);
}

body.light .hr-sec .item-panel .butn-arrow .arrow-icon svg {
  stroke: var(--bytex-white);
}

/* Light cards */
body.light .serv-style4 .item,
body.light .numbers .item {
  border-color: rgba(253, 24, 67, 0.25);
}

body.light .features .item {
  background: rgba(253, 24, 67, 0.06);
}

body.light .features .item.bg-light {
  background: var(--bytex-pink) !important;
  color: var(--bytex-white) !important;
}

body.light .features .item.bg-light p {
  color: rgba(255, 249, 250, 0.82);
}

body.light .features .item.bg-light.main-colorbg {
  background: var(--bytex-pink) !important;
}

/* Light marquee */
body.light .main-marq .box:last-of-type .item:nth-of-type(odd) .h4 a {
  color: transparent;
  -webkit-text-stroke: 1px var(--bytex-pink);
}

body.light .main-marq:after {
  background: linear-gradient(
    to left,
    var(--bytex-white),
    transparent 250px,
    transparent calc(100% - 250px),
    var(--bytex-white)
  );
}

/* Light testimonial / vision section */
body.light .testim-style1 .thumb-side .swiper-button-prev,
body.light .testim-style1 .thumb-side .swiper-button-next {
  border-color: rgba(253, 24, 67, 0.22);
}

body.light .testim-style1 .thumb-side .swiper-button-prev:hover,
body.light .testim-style1 .thumb-side .swiper-button-next:hover {
  background: var(--bytex-dark);
  color: var(--bytex-white);
}

body.light .testim-style1.sub-bg {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(253, 24, 67, 0.06)
  );
}

body.light .cls-1 {
  fill: var(--bytex-pink) !important;
}

/* Light roadmap */
body.light .awards-reval .item-row {
  border-color: rgba(253, 24, 67, 0.22);
}

/* Light footer */
body.light .fo-box-left,
body.light .fo-box-right {
  background: rgba(253, 24, 67, 0.06);
}

body.light .fo-subscribe .mf-input-wrapper input {
  background: rgba(253, 24, 67, 0.06);
  color: var(--bytex-pink);
  border: 1px solid rgba(253, 24, 67, 0.15);
}

body.light .fo-subscribe .mf-input-wrapper input::placeholder {
  color: rgba(253, 24, 67, 0.55);
}

body.light .fo-box-right .mf-widget-container svg path {
  fill: var(--bytex-pink) !important;
}

/* Mobile navigation also follows ByteX colors */
@media screen and (max-width: 992px) {
  .navbar-nav {
    background: var(--bytex-dark);
  }

  .navbar-nav .nav-link {
    border-bottom-color: rgba(255, 249, 250, 0.18);
  }

  body.light .navbar-nav {
    background: var(--bytex-dark);
  }

  body.light .navbar-nav .nav-link {
    color: var(--bytex-white);
    border-bottom-color: rgba(255, 249, 250, 0.18);
  }
}


/* =========================================================
   BYTE X BALANCED PALETTE OVERRIDES
   Keep dark surfaces calm; use True Pink as the accent.
   ========================================================= */

:root {
  --bytex-pink: #FD1843;
  --bytex-dark: #1A0D12;
  --bytex-white: #FFF9FA;
  --bytex-soft-pink: #FFE8ED;

  --color-accent: #FD1843;
  --color-secondary: #FD1843;
  --color-background: #1A0D12;
  --color-white: #FFF9FA;
  --color-ink: #1A0D12;
}

/* Default theme */
body {
  background: var(--bytex-dark);
  color: var(--bytex-white);
}

body .sub-bg {
  background: rgba(255, 249, 250, 0.05);
}

/* Brand accent elements */
.main-colorbg {
  background: var(--bytex-pink) !important;
  color: var(--bytex-white) !important;
}

.main-colorbg.text-dark,
.text-dark {
  color: var(--bytex-white) !important;
}

.butn-arrow {
  background: var(--bytex-pink);
  color: var(--bytex-white);
  border-color: var(--bytex-pink);
}

.butn-arrow .arrow-icon,
.butn-more .arrow-icon {
  background: var(--bytex-white);
  color: var(--bytex-pink);
}

.butn-arrow .arrow-icon svg,
.butn-more .arrow-icon svg {
  stroke: var(--bytex-pink);
}

.butn-arrow:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--bytex-white);
  color: var(--bytex-pink);
  border-color: var(--bytex-white);
}

.butn-arrow:hover .arrow-icon {
  background: var(--bytex-pink);
  color: var(--bytex-white);
}

.butn-arrow:hover .arrow-icon svg {
  stroke: var(--bytex-white);
}

.tags-style1 a:hover {
  background: var(--bytex-pink);
  color: var(--bytex-white);
  border-color: var(--bytex-pink);
}

.navbar-menu-btn:focus-visible,
.close-menu:focus-visible,
.theme-icon:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline-color: var(--bytex-pink);
}

.hr-sec .fit-img .cont .tags span {
  background: var(--bytex-white);
  color: var(--bytex-dark);
}

.hr-sec .item-panel .butn-arrow {
  background: var(--bytex-pink);
  color: var(--bytex-white);
  border-color: var(--bytex-pink);
}

.hr-sec .item-panel .butn-arrow .arrow-icon {
  background: var(--bytex-white);
}

.hr-sec .item-panel .butn-arrow .arrow-icon svg {
  stroke: var(--bytex-pink);
}

/* Calm dark surfaces */
.navbar-nav {
  background: rgba(26, 13, 18, 0.88);
  border-color: rgba(255, 249, 250, 0.14);
}

.dark-mode-icon .theme-icon {
  background: rgba(26, 13, 18, 0.88);
}

.navbar.mil-sticky,
.hamenu {
  background: var(--bytex-dark) !important;
}

.loader-wrap svg {
  fill: var(--bytex-dark);
}

.loader-wrap .loader-wrap-heading .load-text:not(.load-img):after {
  background: var(--bytex-dark);
}

.main-marq:after {
  background: linear-gradient(
    to left,
    var(--bytex-dark),
    transparent 250px,
    transparent calc(100% - 250px),
    var(--bytex-dark)
  );
}

.fo-box-left,
.fo-box-right {
  background: rgba(255, 249, 250, 0.05);
}

/* Light theme */
body.light {
  background: var(--bytex-white);
  color: var(--bytex-dark);
}

body.light .mil-text,
body.light p {
  color: rgba(26, 13, 18, 0.72);
}

body.light .sub-bg {
  background: var(--bytex-soft-pink);
}

body.light .bg-light {
  background: var(--bytex-dark) !important;
  color: var(--bytex-white) !important;
}

body.light .main-colorbg {
  background: var(--bytex-pink) !important;
  color: var(--bytex-white) !important;
}

body.light .navbar-nav,
body.light .dark-mode-icon .theme-icon {
  background: var(--bytex-pink);
  color: var(--bytex-white);
}

body.light .navbar.mil-sticky {
  background: var(--bytex-white) !important;
}

body.light .hamenu {
  background: var(--bytex-white) !important;
  color: var(--bytex-dark);
}

body.light .topnav .menu-icon svg {
  fill: var(--bytex-dark);
}

body.light .hamenu .cont-info {
  color: var(--bytex-dark);
  border-left-color: rgba(26, 13, 18, 0.16);
}

body.light .hamenu .menu-links .main-menu > li .link .fill-text {
  color: rgba(26, 13, 18, 0.34);
}

body.light .hamenu .menu-links .main-menu > li .link .fill-text:after {
  color: var(--bytex-dark);
}

body.light .hamenu .menu-links .main-menu > li .link i:before,
body.light .hamenu .menu-links .main-menu > li .link i:after {
  background: var(--bytex-dark);
}

body.light .loader-wrap svg {
  fill: var(--bytex-white);
}

body.light .loader-wrap .loader-wrap-heading .load-text {
  color: var(--bytex-pink);
}

body.light .loader-wrap .loader-wrap-heading .load-text:not(.load-img):after {
  background: var(--bytex-white);
}

body.light .tags-style1 a {
  border-color: rgba(253, 24, 67, 0.32);
}

body.light .tags-style1 a:hover {
  background: var(--bytex-pink);
  color: var(--bytex-white);
}

body.light .circle-button .textcircle {
  fill: var(--bytex-dark);
}

body.light .butn-arrow {
  background: var(--bytex-pink);
  color: var(--bytex-white);
  border-color: var(--bytex-pink);
}

body.light .butn-arrow .arrow-icon,
body.light .butn-more .arrow-icon {
  background: var(--bytex-white);
  color: var(--bytex-pink);
}

body.light .butn-arrow .arrow-icon svg,
body.light .butn-more .arrow-icon svg {
  stroke: var(--bytex-pink);
}

body.light .butn-arrow:hover {
  background: var(--bytex-dark);
  color: var(--bytex-white);
  border-color: var(--bytex-dark);
}

body.light .butn-arrow:hover .arrow-icon {
  background: var(--bytex-white);
}

body.light .butn-arrow:hover .arrow-icon svg {
  stroke: var(--bytex-dark);
}

body.light .features .item {
  background: var(--bytex-soft-pink);
}

body.light .testim-style1.sub-bg {
  background: linear-gradient(
    to bottom,
    transparent,
    var(--bytex-soft-pink)
  );
}

body.light .fo-box-left,
body.light .fo-box-right {
  background: var(--bytex-soft-pink);
}

body.light .fo-subscribe .mf-input-wrapper input {
  background: rgba(253, 24, 67, 0.06);
  color: var(--bytex-dark);
  border-color: rgba(253, 24, 67, 0.16);
}

/* Mobile */
@media screen and (max-width: 992px) {
  .navbar-nav {
    background: var(--bytex-dark);
  }

  body.light .navbar-nav {
    background: var(--bytex-pink);
  }
}


/* =========================================================
   BYTE X — OUR TEAM
   ========================================================= */

#team,
#impact {
  scroll-margin-top: 100px;
}

.bytex-team-section {
  overflow: hidden;
}

.bytex-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 70px;
}

.bytex-team-card {
  overflow: hidden;
  border: 1px solid rgba(255, 249, 250, 0.16);
  border-radius: 30px;
  background: rgba(255, 249, 250, 0.05);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}

.bytex-team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(253, 24, 67, 0.8);
  background: rgba(253, 24, 67, 0.08);
}

.bytex-team-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 249, 250, 0.04);
}

.bytex-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.bytex-team-card:hover .bytex-team-photo img {
  transform: scale(1.035);
}

.bytex-team-card-body {
  padding: 30px;
}

.bytex-team-role {
  margin-bottom: 12px;
  color: var(--bytex-pink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bytex-team-name {
  margin: 0 0 20px;
  color: var(--bytex-white);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
}

.bytex-team-card p {
  margin-bottom: 26px;
  color: rgba(255, 249, 250, 0.76);
}

.bytex-team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bytex-team-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 249, 250, 0.22);
  border-radius: 999px;
  color: var(--bytex-white);
  font-size: 13px;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.bytex-team-links a:hover {
  background: var(--bytex-pink);
  border-color: var(--bytex-pink);
  color: var(--bytex-white);
}

.bytex-team-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 20px;
  margin-top: 30px;
}

.bytex-team-stat {
  min-height: 160px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  background: var(--bytex-pink);
  color: var(--bytex-white);
}

.bytex-team-stat-label {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .78;
}

.bytex-team-stat strong {
  font-size: 28px;
  line-height: 1.08;
  font-weight: 500;
}

/* =========================================================
   BYTE X — VISION / MISSION / IMPACT MEMBER QUOTES
   ========================================================= */

.bytex-impact-section {
  padding-top: 90px;
}

.bytex-impact-heading {
  max-width: 850px;
  margin-bottom: 55px;
}

.bytex-impact-heading .mil-text {
  max-width: 650px;
  margin-top: 25px;
}

.bytex-quote-mark {
  height: 82px;
  margin-bottom: 8px;
  color: var(--bytex-pink);
  font-size: 100px;
  line-height: 1;
  font-family: Georgia, serif;
}

.bytex-member-quote p {
  font-size: 25px;
  line-height: 1.35;
  color: var(--bytex-white);
}

.bytex-member-quotes .info-text .mil-text {
  margin-top: 7px;
}

.bytex-impact-model {
  margin-top: 55px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border: 1px solid rgba(255, 249, 250, 0.18);
  border-radius: 24px;
  background: rgba(255, 249, 250, 0.05);
}

.bytex-impact-model-label {
  color: var(--bytex-pink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bytex-impact-model strong {
  color: var(--bytex-white);
  font-size: 22px;
  font-weight: 500;
  text-align: right;
}

/* Light theme — Team */
body.light .bytex-team-card {
  border-color: rgba(26, 13, 18, 0.12);
  background: var(--bytex-soft-pink);
}

body.light .bytex-team-card:hover {
  border-color: rgba(253, 24, 67, 0.55);
  background: rgba(253, 24, 67, 0.08);
}

body.light .bytex-team-photo {
  background: rgba(253, 24, 67, 0.05);
}

body.light .bytex-team-name {
  color: var(--bytex-dark);
}

body.light .bytex-team-card p {
  color: rgba(26, 13, 18, 0.72);
}

body.light .bytex-team-links a {
  border-color: rgba(26, 13, 18, 0.18);
  color: var(--bytex-dark);
}

body.light .bytex-team-links a:hover {
  color: var(--bytex-white);
  border-color: var(--bytex-pink);
}

body.light .bytex-team-stat {
  background: var(--bytex-pink);
  color: var(--bytex-white);
}

/* Light theme — Impact */
body.light .bytex-member-quote p {
  color: var(--bytex-dark);
}

body.light .bytex-impact-model {
  border-color: rgba(26, 13, 18, 0.12);
  background: var(--bytex-soft-pink);
}

body.light .bytex-impact-model strong {
  color: var(--bytex-dark);
}

/* Tablet */
@media screen and (max-width: 992px) {
  .bytex-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 50px;
  }

  .bytex-team-summary {
    grid-template-columns: 1fr 1fr;
  }

  .bytex-team-summary .bytex-team-stat:last-child {
    grid-column: 1 / -1;
  }

  .bytex-impact-model {
    align-items: flex-start;
    flex-direction: column;
  }

  .bytex-impact-model strong {
    text-align: left;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .bytex-team-grid,
  .bytex-team-summary {
    grid-template-columns: 1fr;
  }

  .bytex-team-summary .bytex-team-stat:last-child {
    grid-column: auto;
  }

  .bytex-team-card-body {
    padding: 24px;
  }

  .bytex-team-name {
    font-size: 26px;
  }

  .bytex-member-quote p {
    font-size: 21px;
  }

  .bytex-impact-section {
    padding-top: 65px;
  }

  .bytex-impact-heading {
    margin-bottom: 35px;
  }
}

/* =========================================================
   BYTE X MULTI-PAGE NAVIGATION + SUBPAGES
   ========================================================= */

.header-logo .logo img {
  width: 74px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.bytex-nav-dropdown { position: relative; }
.bytex-dropdown-toggle { display: flex !important; align-items: center; gap: 6px; }
.bytex-dropdown-caret { font-size: 14px; line-height: 1; transform: translateY(-1px); }
.bytex-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 270px;
  padding: 10px;
  margin: 0;
  transform: translate(-50%, 10px);
  border: 1px solid rgba(255,249,250,.14);
  border-radius: 16px;
  background: rgba(26,13,18,.96);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 1005;
}
.bytex-nav-dropdown:hover .bytex-dropdown-menu,
.bytex-nav-dropdown:focus-within .bytex-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.bytex-dropdown-menu li { list-style: none; }
.bytex-dropdown-menu a {
  display: block; padding: 12px 14px; border-radius: 10px; color: var(--bytex-white); text-decoration: none; font-size: 14px;
}
.bytex-dropdown-menu a:hover { background: var(--bytex-pink); color: var(--bytex-white); }
body.light .bytex-dropdown-menu { background: rgba(255,249,250,.98); border-color: rgba(26,13,18,.12); }
body.light .bytex-dropdown-menu a { color: var(--bytex-dark); }
body.light .bytex-dropdown-menu a:hover { color: var(--bytex-white); }

.bytex-mobile-service-menu { padding-top: 4px !important; }
.bytex-mobile-service-menu a { font-size: 18px !important; opacity: .78; }

.bytex-page-hero { padding: 190px 0 110px; position: relative; overflow: hidden; }
.bytex-page-hero:before {
  content:""; position:absolute; width:440px; height:440px; right:-160px; top:90px; border-radius:50%;
  background: radial-gradient(circle, rgba(253,24,67,.26), rgba(253,24,67,0) 70%); pointer-events:none;
}
.bytex-page-hero .container { position: relative; z-index: 2; }
.bytex-page-kicker { color: var(--bytex-pink); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.bytex-page-hero h1 { max-width: 980px; font-size: clamp(54px, 8vw, 112px); line-height: .95; margin-bottom: 36px; }
.bytex-page-lead { max-width: 720px; margin-bottom: 32px; }
.bytex-page-lead p { font-size: 20px; }

.bytex-ecosystem-section, .bytex-service-overview, .bytex-detail-section, .bytex-process-section { padding: 110px 0; }
.bytex-ecosystem-intro { display:grid; grid-template-columns:1.2fr .8fr; gap:50px; align-items:end; margin-bottom:55px; }
.bytex-logo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.bytex-logo-card { padding:28px; border:1px solid rgba(255,249,250,.14); border-radius:28px; background:rgba(255,249,250,.045); }
.bytex-logo-stage { height:220px; display:flex; align-items:center; justify-content:center; padding:26px; border-radius:20px; background:var(--bytex-white); overflow:hidden; }
.bytex-logo-stage img { max-width:100%; max-height:100%; object-fit:contain; }
.bytex-logo-stage-brand { background:var(--bytex-pink); }
.bytex-logo-card h3 { margin:24px 0 10px; font-size:24px; font-weight:500; }
.bytex-logo-card p { margin:0; }
body.light .bytex-logo-card { border-color:rgba(26,13,18,.12); background:var(--bytex-soft-pink); }

.bytex-service-overview-grid, .bytex-solution-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.bytex-service-overview-card, .bytex-solution-card { padding:34px; border:1px solid rgba(255,249,250,.14); border-radius:28px; background:rgba(255,249,250,.045); min-height:320px; display:flex; flex-direction:column; }
.bytex-service-overview-card h2, .bytex-solution-card h3 { margin:30px 0 18px; font-weight:500; }
.bytex-service-overview-card h2 { font-size:31px; }
.bytex-solution-card h3 { font-size:26px; }
.bytex-card-number { color:var(--bytex-pink); font-size:14px; letter-spacing:.12em; font-weight:600; }
.bytex-text-link { margin-top:auto; padding-top:28px; color:var(--bytex-pink); text-decoration:none; font-weight:600; }
.bytex-text-link:hover { color:var(--bytex-white); }
body.light .bytex-service-overview-card, body.light .bytex-solution-card { border-color:rgba(26,13,18,.12); background:var(--bytex-soft-pink); }
body.light .bytex-text-link:hover { color:var(--bytex-dark); }

.bytex-featured-tool { margin-top:30px; padding:34px; border-radius:28px; display:flex; gap:30px; justify-content:space-between; align-items:center; background:var(--bytex-pink); color:var(--bytex-white); }
.bytex-featured-tool h2 { margin:8px 0 8px; font-size:34px; }
.bytex-featured-tool p { margin:0; color:rgba(255,249,250,.84); }
.bytex-featured-tool .bytex-page-kicker { color:var(--bytex-white); opacity:.72; margin:0; }
.bytex-featured-tool .butn-arrow { background:var(--bytex-white); color:var(--bytex-pink); flex:0 0 auto; }

.bytex-process-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.bytex-process-step { display:flex; gap:22px; padding:28px; border-radius:24px; border:1px solid rgba(255,249,250,.12); background:rgba(255,249,250,.04); }
.bytex-process-step > span { color:var(--bytex-pink); font-weight:600; }
.bytex-process-step h3 { margin:0 0 8px; font-size:23px; font-weight:500; }
.bytex-process-step p { margin:0; }
body.light .bytex-process-step { border-color:rgba(26,13,18,.1); background:rgba(253,24,67,.045); }

.bytex-qr-card { background:linear-gradient(145deg,#1a0d12 0%, #31101a 65%, #fd1843 140%); }
.bytex-qr-visual { height:100%; min-height:480px; position:relative; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.bytex-qr-visual > img { width:190px !important; height:190px !important; object-fit:cover; border-radius:42px; z-index:2; box-shadow:0 25px 70px rgba(0,0,0,.3); }
.bytex-qr-pattern { position:absolute; inset:0; opacity:.14; background-image:linear-gradient(90deg,var(--bytex-white) 1px,transparent 1px),linear-gradient(var(--bytex-white) 1px,transparent 1px); background-size:28px 28px; transform:rotate(8deg) scale(1.15); }

@media (max-width: 992px) {
  .bytex-nav-dropdown .bytex-dropdown-menu { display:none; }
  .bytex-page-hero { padding:150px 0 85px; }
  .bytex-ecosystem-intro { grid-template-columns:1fr; }
  .bytex-service-overview-grid, .bytex-solution-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 768px) {
  .header-logo .logo img { width:58px; height:40px; }
  .bytex-page-hero { padding:130px 0 70px; }
  .bytex-page-lead p { font-size:18px; }
  .bytex-logo-grid, .bytex-service-overview-grid, .bytex-solution-grid, .bytex-process-list { grid-template-columns:1fr; }
  .bytex-ecosystem-section, .bytex-service-overview, .bytex-detail-section, .bytex-process-section { padding:75px 0; }
  .bytex-logo-stage { height:180px; }
  .bytex-featured-tool { align-items:flex-start; flex-direction:column; }
}


/* ByteX logo sizing for the supplied brand assets */
.header-logo .logo img { width: 46px; height: 46px; object-fit: cover; border-radius: 12px; }
.footer-logo .logo img { width: min(240px, 70vw); height: auto; object-fit: contain; border-radius: 14px; }
@media (max-width:768px){ .header-logo .logo img{ width:42px; height:42px; } .footer-logo .logo img{ width:min(210px,70vw); } }
