/* Tajseer site — additions over main.css (bilingual static site) */
.tj-lang { display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 52px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--tj-line-2); background: var(--tj-surface); font-family: var(--tj-font-en); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--tj-text); }
.lang-en .tj-lang { font-family: var(--tj-font-ar); }
.tj-lang:hover { border-color: var(--tj-blue); color: var(--tj-blue); }
.tj-menu li { position: relative; }
.tj-menu .has-sub::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-block-end: 3px; margin-inline-start: 10px; opacity: .6; }
.tj-sub { position: absolute; top: 100%; inset-inline-start: 0; min-width: 260px; padding: 8px; margin-top: 6px; background: var(--tj-surface); border: 1px solid var(--tj-line); border-radius: 14px; box-shadow: var(--tj-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 5; }
.tj-menu li:hover > .tj-sub, .tj-menu li:focus-within > .tj-sub { opacity: 1; visibility: visible; transform: none; }
.tj-sub a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; color: var(--tj-text); }
.tj-sub a:hover { background: var(--tj-surface-2); color: var(--tj-blue); }
.tj-mobile__group { padding: 12px 14px 4px; font-size: 12px; font-weight: 700; color: var(--tj-grey); text-transform: uppercase; letter-spacing: .08em; }
.tj-mobile__sub { padding-inline-start: 26px !important; font-size: 14px; }
.tj-stack { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.tj-chain__arrow { width: 14px; height: 14px; }

/* track cards */
.tj-sector__top { display: flex; align-items: center; gap: 12px; }
.tj-num { font-family: var(--tj-font-en); font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--tj-blue); }
.tj-sector--primary { background: var(--tj-blue); border-color: var(--tj-blue); color: #fff; }
.tj-sector--primary .tj-muted, .tj-sector--primary .tj-checks li, .tj-sector--primary .tj-h3 a { color: #E6E5FF; }
.tj-sector--primary .tj-h3 a { color: #fff; }
.tj-sector--primary .tj-num { color: #C9C8FF; }
.tj-sector--primary .tj-icon { background: #fff; box-shadow: none; }
.tj-sector--primary .tj-icon .tj-svg { stroke: var(--tj-blue); }
.tj-sector--primary .tj-checks .tj-svg { stroke: #fff; }
.tj-sector--primary .tj-more { color: #fff; }
.tj-sector--primary .tj-more .tj-svg { stroke: #fff; }
.tj-sector .tj-h3 a:hover { color: var(--tj-blue); }

/* why */
.tj-why { display: grid; grid-template-columns: 1fr 340px; gap: 24px; margin-top: 48px; }
.tj-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tj-why__top { display: flex; align-items: center; justify-content: space-between; }
.tj-why .tj-step__card { gap: 12px; }
.tj-why .tj-step__card .tj-icon { width: 48px; height: 48px; border-radius: 14px; box-shadow: none; }
.tj-why .tj-step__card .tj-icon .tj-svg { width: 22px; height: 22px; }
.tj-ways { background: var(--tj-blue); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.tj-ways .tj-h4 { color: #fff; margin-bottom: 6px; }
.tj-way { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--tj-text); }
.tj-way__num { width: 34px; height: 34px; border-radius: 50%; background: var(--tj-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--tj-font-en); font-weight: 700; flex-shrink: 0; }
.tj-way strong { display: block; font-size: 15px; }
.tj-way span:not(.tj-way__num) { font-size: 13px; color: var(--tj-muted); }
.tj-ways-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tj-ways-row .tj-step__card { gap: 10px; }

/* industries 4-up with description */
.tj-industries--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tj-industry__desc { font-size: 14px; line-height: 1.6; font-weight: 300; }
.tj-industry--primary { background: var(--tj-blue); border-color: var(--tj-blue); color: #fff; }
.tj-industry--primary .tj-muted, .tj-industry--primary .tj-more { color: #E6E5FF; }
.tj-industry--primary .tj-more .tj-svg { stroke: #fff; }
.tj-industry--primary .tj-icon { background: #fff; box-shadow: none; }
.tj-industry--primary .tj-icon .tj-svg { stroke: var(--tj-blue); }
.tj-note { margin-top: 24px; text-align: center; font-size: 14px; }
.tj-note--sm { font-size: 12.5px; }

/* founder */
.tj-founder { border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 380px 1fr; }
.tj-founder__panel { border-radius: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 36px; }
.tj-founder__photo { width: 200px; height: 200px; border-radius: 50%; padding: 5px; background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.25); margin-bottom: 12px; }
.tj-founder__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tj-founder__name { font-size: 22px; font-weight: 800; }
.tj-founder__role { font-size: 13px; color: #DCDBF5; }
.tj-founder__quote { margin: 18px 0 0; font-size: 15px; line-height: 1.75; font-weight: 500; color: #fff; }
.tj-founder__body { padding: 56px; display: flex; flex-direction: column; gap: 18px; }
.tj-founder__p { font-size: 16.5px; line-height: 1.9; font-weight: 300; color: var(--tj-muted); padding-inline-start: 18px; border-inline-start: 3px solid var(--tj-neon); }

/* sector page */
.tj-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tj-stat { padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; border-radius: 18px; }
.tj-stat__num { font-size: 30px; font-weight: 700; color: var(--tj-blue); letter-spacing: 0; text-transform: none; }
.tj-services { display: grid; gap: 20px; }
.tj-services--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tj-services--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tj-service { padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.tj-service .tj-sector__top { justify-content: space-between; }
.tj-service .tj-h3 { font-size: 20px; }
.tj-service p { font-size: 15px; line-height: 1.8; font-weight: 300; }
.tj-closing { margin-top: 24px; padding: 32px 40px; display: flex; align-items: center; gap: 20px; font-size: 22px; font-weight: 700; }
.tj-closing .tj-mark { height: 40px; }
.tj-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; height: 360px; }
.tj-gallery__item { border-radius: 20px; background-size: cover; background-position: center; }
.tj-page-hero__grid .tj-checks { margin: 4px 0; }
.tj-footer__legal { font-size: 12px; line-height: 1.7; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--tj-line); }
.tj-footer__bottom { margin-top: 16px; }

/* LTR-only extras */
.lang-en { font-family: var(--tj-font-en); }
.lang-en .tj-hero__title, .lang-en .tj-h1, .lang-en .tj-h2, .lang-en .tj-h3, .lang-en .tj-h4 { font-family: var(--tj-font-en); letter-spacing: -.01em; }
.lang-en .tj-btn, .lang-en .tj-chip, .lang-en .tj-field input, .lang-en .tj-field select, .lang-en .tj-field textarea { font-family: var(--tj-font-en); }
.lang-en .tj-hero__frame-caption { right: auto; left: 24px; }
.lang-en .tj-sub { inset-inline-start: 0; }

@media (max-width: 1024px) {
	.tj-why { grid-template-columns: 1fr; }
	.tj-industries--4, .tj-services--4, .tj-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tj-services--3, .tj-ways-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tj-founder { grid-template-columns: 1fr; }
	.tj-gallery { grid-template-columns: 1fr 1fr; height: auto; }
	.tj-gallery__item { aspect-ratio: 4/3; }
	.tj-gallery__item:first-child { grid-column: span 2; aspect-ratio: 16/8; }
}
@media (max-width: 640px) {
	.tj-why__grid, .tj-industries--4, .tj-services--4, .tj-services--3, .tj-ways-row { grid-template-columns: 1fr; }
	.tj-stats { gap: 10px; }
	.tj-stat { padding: 16px; }
	.tj-stat__num { font-size: 24px; }
	.tj-founder__body { padding: 28px 22px; }
	.tj-founder__panel { padding: 32px 22px; }
	.tj-closing { flex-direction: column; align-items: flex-start; font-size: 18px; padding: 24px; }
	.tj-gallery { grid-template-columns: 1fr; }
	.tj-gallery__item:first-child { grid-column: auto; }
	.tj-lang { min-width: 44px; padding: 0 8px; }
}

/* ---------- Colour balance: Sambucus (dark blue) leads, Tajseer blue accents ---------- */
.tj-btn--primary { background: var(--tj-ink); box-shadow: 0 10px 24px rgba(25,24,45,.22); }
.tj-btn--primary:hover { background: var(--tj-blue); box-shadow: 0 14px 28px rgba(26,24,188,.3); }
.tj-icon { background: var(--tj-ink); box-shadow: 0 8px 18px rgba(25,24,45,.2); }
.tj-icon--soft { background: var(--tj-surface-2); box-shadow: none; }
.tj-icon--soft .tj-svg { stroke: var(--tj-ink); }
.tj-panel-blue { background: var(--tj-ink); }
.tj-panel-blue p { color: #D6D5EE; }
.tj-panel-blue .tj-en--light { color: #9F9EFF; }
.tj-chip--glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.tj-chip--white { color: var(--tj-ink); }
.tj-hero__badge { background: var(--tj-ink); box-shadow: 0 12px 24px rgba(25,24,45,.3); }
.tj-route__fill { background: var(--tj-ink); }
.tj-sector--primary, .tj-industry--primary { background: var(--tj-ink); border-color: var(--tj-ink); }
.tj-sector--primary .tj-icon .tj-svg, .tj-industry--primary .tj-icon .tj-svg { stroke: var(--tj-ink); }
.tj-sector--primary .tj-num { color: #9F9EFF; }
.tj-sector--primary .tj-chip--white { background: var(--tj-blue); border-color: var(--tj-blue); color: #fff; }
.tj-journey { background: var(--tj-ink); }
.tj-journey .tj-step__card { background: #22213B; border-color: #34335A; }
.tj-why .tj-step__card .tj-icon { background: var(--tj-blue); }
.tj-way__num { background: var(--tj-ink); }
.tj-closing { background: var(--tj-ink); }
.tj-closing strong { color: #fff; }
.tj-founder__photo { background: var(--tj-blue); }
.tj-founder__role { color: #B4B3CC; }
.tj-founder__p { border-inline-start-color: var(--tj-ink); }
.tj-stat__num { color: var(--tj-ink); }
.tj-service .tj-icon { background: var(--tj-ink); }
.tj-whatsapp { background: #25D366; }
.tj-menu .current-menu-item > a { color: var(--tj-ink); background: var(--tj-surface-2); }
.tj-form .tj-btn--primary { background: var(--tj-ink); }
