/* ==========================================================================
   TezIT "Aurora" Theme — unique redesign layered over the HighTech template
   Palette : Indigo ink + Amber accent + Teal pop, warm cream surfaces
   Type    : Sora (display) + Plus Jakarta Sans (body)
   ========================================================================== */

:root {
    --tn-ink: #0E1020;
    --tn-ink-2: #171A33;
    --tn-brand: #3B2FBF;
    --tn-brand-2: #6D5BFF;
    --tn-brand-3: #A08CFF;
    --tn-accent: #FF8A3D;
    --tn-accent-2: #FFB25E;
    --tn-teal: #12B5A5;
    --tn-cream: #14162E;
    --tn-mist: #171440;
    --tn-line: rgba(255, 255, 255, 0.10);
    --tn-onlight: #0E1020;
    --tn-muted: #A7ABCC;
    --tn-white: #FFFFFF;

    --tn-grad-brand: linear-gradient(120deg, var(--tn-brand) 0%, var(--tn-brand-2) 55%, var(--tn-brand-3) 100%);
    --tn-grad-accent: linear-gradient(120deg, var(--tn-accent) 0%, var(--tn-accent-2) 100%);
    --tn-grad-dark: linear-gradient(135deg, #12142C 0%, #241C53 60%, #3B2FBF 140%);

    --tn-shadow-sm: 0 6px 18px rgba(14, 16, 32, 0.06);
    --tn-shadow-md: 0 18px 40px rgba(14, 16, 32, 0.10);
    --tn-shadow-lg: 0 34px 70px rgba(14, 16, 32, 0.16);
    --tn-radius: 22px;
    --tn-radius-lg: 34px;
    --tn-nav-h: 78px;
  --tn-top-h: 44px;
    --tn-font-display: 'Sora', 'Saira', system-ui, sans-serif;
    --tn-font-body: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  }

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--tn-font-body);
    color: rgba(255, 255, 255, 0.86);
    background: #0E1020;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tn-font-display);
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
}

/* ---------------------------------------------------------------- buttons */
.tn-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    cursor: pointer;
  }

.tn-btn:hover {
    transform: translateY(-3px);
}

.tn-btn-accent {
    background: var(--tn-grad-accent);
    color: #20120a;
    box-shadow: 0 14px 30px rgba(255, 138, 61, 0.35);
}

.tn-btn-accent:hover {
    color: #20120a;
    box-shadow: 0 20px 38px rgba(255, 138, 61, 0.45);
}

.tn-btn-brand {
    background: var(--tn-grad-brand);
    color: #fff;
    box-shadow: 0 14px 30px rgba(59, 47, 191, 0.32);
}

.tn-btn-brand:hover {
    color: #fff;
}

.tn-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
}

.tn-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.tn-btn-outline {
    background: transparent;
    color: var(--tn-brand);
    border-color: rgba(59, 47, 191, 0.30);
}

.tn-btn-outline:hover {
    background: rgba(59, 47, 191, 0.07);
    color: var(--tn-brand);
}

/* -------------------------------------------------------------- section   */
.tn-section {
    position: relative;
    padding: clamp(64px, 7vw, 104px) 0;
  }

.tn-section--mist {
    background:
        radial-gradient(1000px 460px at 8% 0%, rgba(109, 91, 255, 0.20), transparent 60%),
        radial-gradient(900px 420px at 100% 100%, rgba(255, 138, 61, 0.14), transparent 60%),
        var(--tn-mist);
}

.tn-section--cream {
    background: linear-gradient(180deg, #14162E 0%, #16133A 100%);
}

.tn-section--dark {
    background: var(--tn-grad-dark);
    color: rgba(255, 255, 255, 0.86);
}

.tn-head {
    max-width: 720px;
    margin-bottom: clamp(34px, 4vw, 56px);
}

.tn-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tn-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--tn-brand-3);
    margin-bottom: 16px;
}

.tn-eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: var(--tn-grad-accent);
}

.tn-head--center .tn-eyebrow::after {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: var(--tn-grad-accent);
}

.tn-section--dark .tn-eyebrow {
    color: var(--tn-accent-2);
}

.tn-title {
    font-size: clamp(1.9rem, 3.3vw, 2.9rem);
    font-weight: 800;
    line-height: 1.14;
    color: #fff;
    margin: 0 0 16px;
}

.tn-section--dark .tn-title {
    color: #fff;
}

.tn-title .tn-grad {
    background: var(--tn-grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tn-lead {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--tn-muted);
    margin: 0;
}

.tn-section--dark .tn-lead {
    color: rgba(255, 255, 255, 0.72);
}

/* =========================================================== TOPBAR ====== */
.tn-topbar {
    background: #08091A;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    min-height: var(--tn-top-h);
    display: flex;
    align-items: center;
}

.tn-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 8px;
}

.tn-topbar-left,
.tn-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.tn-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tn-topbar-item:hover {
    color: var(--tn-accent-2);
}

.tn-topbar-item i {
    color: var(--tn-accent-2);
    font-size: 0.82rem;
}

.tn-topbar-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tn-topbar-socials a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    font-size: 0.76rem;
    text-decoration: none;
    transition: 0.25s ease;
}

.tn-topbar-socials a:hover {
    background: var(--tn-grad-accent);
    color: #20120a;
    transform: translateY(-2px);
}

/* ============================================================= HEADER ==== */
.tn-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(12, 13, 32, 0.94);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.tn-header.is-stuck {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    background: rgba(9, 10, 26, 0.98);
}

/* ------------------------------------------------------- brand row ------ */
.tn-brandbar {
    background: linear-gradient(180deg, rgba(20, 17, 54, 0.9), rgba(14, 16, 32, 0.9));
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tn-brandbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 76px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.tn-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 560px;
}

.tn-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
    border-radius: 14px;
    background: #fff;
    padding: 3px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.tn-brand-text {
    font-family: var(--tn-font-display);
    font-weight: 800;
    font-size: clamp(1.02rem, 1.4vw, 1.4rem);
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.tn-brand-text em {
    font-style: normal;
    background: var(--tn-grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* nav actions (brand row right side) */
.tn-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.tn-nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.tn-nav-phone .tn-phone-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tn-grad-accent);
    color: #20120a;
    box-shadow: 0 10px 22px rgba(255, 138, 61, 0.35);
}

.tn-nav-phone .tn-phone-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.tn-nav-phone .tn-phone-meta small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.tn-nav-phone .tn-phone-meta strong {
    font-size: 0.94rem;
    color: #fff;
    font-family: var(--tn-font-display);
}

.tn-cta {
    padding: 13px 26px;
    font-size: 0.9rem;
}

/* -------------------------------------------------------- menu row ------ */
.tn-menubar {
    position: relative;
    background: linear-gradient(100deg, #15123A 0%, #221A53 55%, #2E2270 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* Must stay visible: the dropdown panels render below this row.
       An `overflow: hidden` here used to clip them behind the hero banner. */
    overflow: visible;
}

.tn-menubar::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 320px;
    height: 100%;
    background: radial-gradient(circle at 76% 45%, rgba(255, 138, 61, 0.35), transparent 65%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.tn-menubar-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.tn-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
}

.tn-menu > .nav-item {
    position: relative;
    flex: 0 0 auto;
}

.tn-menu > .nav-item > .nav-link,
.tn-menu > a.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    white-space: nowrap;
    transition: 0.22s ease;
    background: transparent;
}

.tn-menu > .nav-item > .nav-link:hover,
.tn-menu > a.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.tn-menu > .nav-item > .nav-link.active,
.tn-menu > a.nav-link.active {
    color: #20120a;
    background: var(--tn-grad-accent);
    box-shadow: 0 12px 26px rgba(255, 138, 61, 0.40);
}

.tn-menu > .nav-item > .nav-link.active.text-secondary,
.tn-menu > a.nav-link.active.text-secondary {
    color: #20120a;
}

.tn-menu .dropdown-toggle::after {
    border-top-color: currentColor;
    opacity: 0.6;
    margin-left: 4px;
}

.tn-menu .dropdown-menu {
    display: block;
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translate(-50%, 14px);
    min-width: 244px;
    max-width: min(420px, 92vw);
    /* Long menus (14+ links) must scroll instead of running off screen. */
    max-height: min(58vh, 430px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 138, 61, 0.55) rgba(255, 255, 255, 0.06);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    background: linear-gradient(160deg, #1B1840 0%, #17143A 100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.24s ease;
    margin-top: 0;
}

.tn-menu .dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.tn-menu .dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.tn-menu .dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 138, 61, 0.55);
    border-radius: 8px;
}

.tn-menu .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 138, 61, 0.8);
}

.tn-menu .nav-item.dropdown:hover > .dropdown-menu,
.tn-menu .nav-item.dropdown.show > .dropdown-menu,
.tn-menu .nav-item.dropdown:has(> .dropdown-toggle.show) > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.tn-menu .dropdown-menu .dropdown-item {
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
}

.tn-menu .dropdown-menu .dropdown-item:hover,
.tn-menu .dropdown-menu .dropdown-item.active {
    background: rgba(255, 138, 61, 0.16);
    color: var(--tn-accent-2);
}

/* burger (mobile / overflow fallback) */
.tn-burger {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: var(--tn-grad-accent);
    padding: 0;
    position: relative;
    box-shadow: 0 12px 26px rgba(255, 138, 61, 0.38);
    cursor: pointer;
}

.tn-burger span {
    position: absolute;
    left: 14px;
    right: 14px;
    height: 2.5px;
    border-radius: 3px;
    background: #20120a;
    transition: 0.3s ease;
}

.tn-burger span:nth-child(1) { top: 16px; }
.tn-burger span:nth-child(2) { top: 22.5px; }
.tn-burger span:nth-child(3) { top: 29px; }

body.tn-nav-open .tn-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.tn-nav-open .tn-burger span:nth-child(2) { opacity: 0; }
body.tn-nav-open .tn-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* If the desktop menu cannot fit, collapse to the burger automatically */
html.tn-menu-overflow .tn-menubar {
    display: none;
}

html.tn-menu-overflow .tn-burger {
    display: block;
}

/* ----------------------------------------------------------- drawer ----- */
.tn-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 6, 18, 0.62);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1040;
}

.tn-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(392px, 90vw);
    background: #0C0E22;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5);
    overflow-x: hidden;
    overflow-y: auto;
}

body.tn-nav-open .tn-drawer {
    transform: translateX(0);
}

body.tn-nav-open .tn-drawer-backdrop {
    opacity: 1;
    visibility: visible;
}

.tn-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tn-drawer-head .tn-brand {
    max-width: 240px;
}

.tn-drawer-close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    font-size: 1.05rem;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    transition: 0.24s ease;
}

.tn-drawer-close:hover {
    background: var(--tn-grad-accent);
    color: #20120a;
    border-color: transparent;
}

.tn-drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
}

.tn-drawer-menu > .nav-item {
    display: block;
    width: 100%;
}

/* The link itself carries the "card" look so the active state fills the whole
   item exactly like the desktop amber pill. */
.tn-drawer-menu > a.nav-link,
.tn-drawer-menu > .nav-item > .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.35;
    text-align: left;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: 0.2s ease;
}

.tn-drawer-menu > a.nav-link:hover,
.tn-drawer-menu > .nav-item > .nav-link:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
}

.tn-drawer-menu > a.nav-link.active,
.tn-drawer-menu > .nav-item > .nav-link.active {
    background: var(--tn-grad-accent);
    color: #20120a;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(255, 138, 61, 0.40);
}

.tn-drawer-menu .dropdown-menu {
    /* Popper (Bootstrap dropdown JS) writes inline position:absolute/top/left
       which made sub-menu items float over the links below them. Force the
       submenu back into the drawer's normal flow. */
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;
    margin: 6px 0 0 !important;
    display: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 4px 0 4px 14px;
    min-width: 0;
    max-height: none;
    overflow-y: hidden;
    /* Long labels stay on one line (Bootstrap .dropdown-item is nowrap) and
       scroll sideways HERE instead of making the whole drawer scroll. */
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 138, 61, 0.55) rgba(255, 255, 255, 0.06);
}

.tn-drawer-menu .dropdown-menu::-webkit-scrollbar {
    height: 6px;
}

.tn-drawer-menu .dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.tn-drawer-menu .dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 138, 61, 0.55);
    border-radius: 6px;
}

.tn-drawer-menu .dropdown-menu.show {
    display: block;
}

.tn-drawer-menu .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    /* Grow with the (nowrap) label so the pill background travels with it
       while the submenu scrolls sideways. */
    width: max-content;
    min-width: 100%;
    background: transparent;
    padding: 11px 12px;
    color: rgba(255, 255, 255, 0.66);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
}

.tn-drawer-menu .dropdown-menu .dropdown-item:hover,
.tn-drawer-menu .dropdown-menu .dropdown-item.active {
    background: rgba(255, 138, 61, 0.16);
    color: var(--tn-accent-2);
}

.tn-drawer-menu .dropdown-toggle::after {
    margin-left: auto;
    flex: 0 0 auto;
    border-top-color: currentColor;
    opacity: 0.6;
    transition: transform 0.22s ease;
}

.tn-drawer-menu > .nav-item > .nav-link[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.tn-drawer-menu > .nav-item > .nav-link.active::after {
    color: #20120a;
    opacity: 0.75;
}

.tn-drawer-foot {
    margin-top: auto;
    padding: 20px 22px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.tn-drawer-foot .tn-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.tn-drawer-foot .tn-drawer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    word-break: break-word;
}

.tn-drawer-foot .tn-drawer-contact a i {
    color: var(--tn-accent-2);
    width: 20px;
    text-align: center;
}

/* ============================================================== HERO ===== */
.tn-hero {
    position: relative;
    background: var(--tn-ink);
    overflow: hidden;
}

.tn-hero .carousel,
.tn-hero .carousel-inner {
    position: relative;
}

.tn-hero-item {
    position: relative;
    min-height: clamp(460px, 74vh, 720px);
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.tn-hero-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 11, 28, 0.74) 0%, rgba(12, 13, 34, 0.38) 45%, rgba(14, 16, 40, 0.08) 100%),
        linear-gradient(0deg, rgba(10, 11, 28, 0.46) 0%, rgba(10, 11, 28, 0) 46%);
    z-index: 1;
}

.tn-hero-item::after {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(109, 91, 255, 0.55), transparent 65%);
    filter: blur(10px);
    z-index: 1;
    opacity: 0.5;
}

.tn-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding-top: 74px;
    padding-bottom: 96px;
}

.tn-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    margin-bottom: 22px;
}

.tn-hero-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tn-accent);
    box-shadow: 0 0 0 5px rgba(255, 138, 61, 0.25);
}

.tn-hero-title {
    font-size: clamp(2.1rem, 5vw, 4rem);
    line-height: 1.06;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.tn-hero-title .tn-grad {
    background: var(--tn-grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tn-hero-text {
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.80);
    max-width: 620px;
    margin: 0 0 32px;
}

.tn-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* floating glass stat card */
.tn-hero-badge {
    position: absolute;
    right: 6%;
    bottom: 46px;
    z-index: 3;
    display: flex;
    gap: 26px;
    padding: 20px 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px);
    box-shadow: var(--tn-shadow-lg);
}

.tn-hero-badge .tn-hero-badge-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 108px;
}

.tn-hero-badge .tn-hero-badge-item strong {
    font-family: var(--tn-font-display);
    font-size: 1.5rem;
    color: #fff;
    line-height: 1;
}

.tn-hero-badge .tn-hero-badge-item span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

/* hero controls */
.tn-hero .tn-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: 0.25s ease;
    cursor: pointer;
    backdrop-filter: blur(6px);
    opacity: 0.5;
}

.tn-hero .tn-arrow:hover {
    background: var(--tn-grad-accent);
    border-color: transparent;
    color: #20120a;
    opacity: 1;
}

.tn-hero .tn-arrow--prev { left: 26px; }
.tn-hero .tn-arrow--next { right: 26px; }

.tn-hero .tn-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tn-hero .tn-dots button {
    width: 34px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.32);
    transition: 0.25s ease;
}

.tn-hero .tn-dots .active button,
.tn-hero .tn-dots button[aria-current="true"] {
    width: 56px;
    background: var(--tn-grad-accent);
}

/* ============================================================= STATS ===== */
.tn-stats {
    position: relative;
    background:
        radial-gradient(700px 300px at 12% 20%, rgba(109, 91, 255, 0.35), transparent 60%),
        radial-gradient(700px 300px at 88% 80%, rgba(255, 138, 61, 0.28), transparent 60%),
        var(--tn-ink);
    padding: clamp(46px, 5vw, 66px) 0;
    overflow: hidden;
}

.tn-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
    content: "";
    position: absolute;
}

.tn-stat {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    height: 100%;
    transition: 0.3s ease;
}

.tn-stat:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
}

.tn-stat .tn-stat-num {
    font-family: var(--tn-font-display);
    font-size: clamp(2.1rem, 3vw, 2.9rem);
    font-weight: 800;
    line-height: 1;
    background: var(--tn-grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    min-width: 74px;
}

.tn-stat .tn-stat-label {
    font-size: 0.94rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    margin: 0;
}

/* ============================================================= ABOUT ===== */
.tn-about-media {
    position: relative;
    padding-bottom: 34px;
}

.tn-about-img-main {
    width: 84%;
    border-radius: var(--tn-radius-lg);
    box-shadow: var(--tn-shadow-lg);
    object-fit: cover;
    aspect-ratio: 4 / 3.2;
}

.tn-about-img-sub {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 56%;
    border-radius: var(--tn-radius);
    border: 8px solid #fff;
    box-shadow: var(--tn-shadow-md);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.tn-about-frame {
    position: absolute;
    left: -14px;
    top: -14px;
    width: 190px;
    height: 190px;
    border: 3px dashed rgba(255, 138, 61, 0.40);
    border-radius: 40px;
    z-index: -1;
}

.tn-about-chip {
    position: absolute;
    left: 4%;
    bottom: 8px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 18px;
    background: rgba(22, 20, 58, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: var(--tn-shadow-md);
}

.tn-about-chip .tn-about-chip-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tn-grad-brand);
    color: #fff;
    font-size: 1.05rem;
}

.tn-about-chip strong {
    display: block;
    font-family: var(--tn-font-display);
    font-size: 0.98rem;
    color: #fff;
    line-height: 1.2;
}

.tn-about-chip span {
    font-size: 0.8rem;
    color: var(--tn-muted);
}

.tn-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
}

.tn-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 600;
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.92);
}

.tn-list li i {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 181, 165, 0.15);
    color: var(--tn-teal);
    font-size: 0.72rem;
    margin-top: 2px;
}

/* =========================================================== SERVICES ==== */
.tn-card {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--tn-radius);
    padding: 32px 28px;
    box-shadow: var(--tn-shadow-sm);
    overflow: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.tn-card::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--tn-grad-brand);
    opacity: 0;
    transition: 0.35s ease;
    z-index: 0;
}

.tn-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--tn-shadow-lg);
    border-color: transparent;
}

.tn-card:hover::after {
    opacity: 0.10;
}

.tn-card > * {
    position: relative;
    z-index: 1;
}

.tn-card-ico {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    background: rgba(255, 255, 255, 0.07);
    color: var(--tn-accent-2);
    margin-bottom: 22px;
    transition: 0.32s ease;
}

.tn-card:hover .tn-card-ico {
    background: var(--tn-grad-accent);
    color: #20120a;
    transform: rotate(-8deg) scale(1.05);
}

.tn-card h3,
.tn-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}

.tn-card p {
    color: var(--tn-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0 0 20px;
}

.tn-card-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--tn-accent-2);
    text-decoration: none;
}

.tn-card-link i {
    transition: transform 0.25s ease;
}

.tn-card-link:hover {
    color: #fff;
}

.tn-card-link:hover i {
    transform: translateX(5px);
}

/* ============================================================ PROJECT ==== */
.tn-project {
    position: relative;
    display: block;
    border-radius: var(--tn-radius);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--tn-shadow-sm);
    isolation: isolate;
    background: var(--tn-ink-2);
}

.tn-project img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.tn-project::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 11, 28, 0.92) 0%, rgba(10, 11, 28, 0.35) 45%, rgba(10, 11, 28, 0.05) 100%);
    opacity: 0.75;
    transition: 0.4s ease;
}

.tn-project:hover img {
    transform: scale(1.09);
}

.tn-project:hover::after {
    opacity: 0.95;
}

.tn-project-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px 24px 26px;
    transform: translateY(12px);
    transition: transform 0.4s ease;
}

.tn-project:hover .tn-project-body {
    transform: translateY(0);
}

.tn-project-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    backdrop-filter: blur(6px);
}

.tn-project-body h3 {
    color: #fff;
    font-size: 1.28rem;
    margin: 0 0 6px;
}

.tn-project-body p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    font-size: 0.92rem;
    opacity: 0;
    max-height: 0;
    transition: 0.4s ease;
}

.tn-project:hover .tn-project-body p {
    opacity: 1;
    max-height: 60px;
}

.tn-project-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tn-grad-accent);
    color: #20120a;
    font-size: 0.95rem;
    box-shadow: 0 12px 26px rgba(255, 138, 61, 0.4);
    transform: translateY(-8px);
    opacity: 0;
    transition: 0.35s ease;
}

.tn-project:hover .tn-project-badge {
    transform: translateY(0);
    opacity: 1;
}

/* ============================================================== BLOG ===== */
.tn-post {
    height: 100%;
    background: rgba(255, 255, 255, 0.055);
    border-radius: var(--tn-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: var(--tn-shadow-sm);
    transition: 0.32s ease;
    display: flex;
    flex-direction: column;
}

.tn-post:hover {
    transform: translateY(-10px);
    box-shadow: var(--tn-shadow-lg);
}

.tn-post-media {
    position: relative;
    overflow: hidden;
}

.tn-post-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tn-post:hover .tn-post-media img {
    transform: scale(1.07);
}

.tn-post-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--tn-grad-accent);
    color: #20120a;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(255, 138, 61, 0.38);
}

.tn-post-date {
    position: absolute;
    bottom: -22px;
    right: 18px;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: var(--tn-grad-brand);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--tn-font-display);
    line-height: 1;
    box-shadow: 0 14px 30px rgba(59, 47, 191, 0.35);
    z-index: 2;
}

.tn-post-date strong {
    font-size: 1.25rem;
}

.tn-post-date span {
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-top: 3px;
}

.tn-post-body {
    padding: 34px 26px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tn-post-body h3 {
    font-size: 1.14rem;
    margin: 0 0 12px;
    line-height: 1.4;
}

.tn-post-body h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.22s ease;
}

.tn-post-body h3 a:hover {
    color: var(--tn-accent-2);
}

.tn-post-body p {
    color: var(--tn-muted);
    font-size: 0.94rem;
    line-height: 1.7;
    margin: 0 0 20px;
    flex: 1;
}

.tn-post-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px dashed var(--tn-line);
    font-size: 0.86rem;
    color: var(--tn-muted);
}

.tn-post-foot .tn-post-author {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.tn-post-foot .tn-post-author img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

/* ============================================================== TEAM ===== */
.tn-team {
    position: relative;
    background: rgba(255, 255, 255, 0.055);
    border-radius: var(--tn-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: var(--tn-shadow-sm);
    transition: 0.32s ease;
    height: 100%;
    text-align: center;
}

.tn-team:hover {
    transform: translateY(-8px);
    box-shadow: var(--tn-shadow-lg);
}

.tn-team-media {
    position: relative;
    padding: 26px 26px 0;
}

.tn-team-media::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 22px;
    transform: translateX(-50%);
    width: 176px;
    height: 176px;
    border-radius: 50%;
    background: var(--tn-grad-accent);
    opacity: 0.16;
}

.tn-team-media img {
    position: relative;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: var(--tn-shadow-md);
    margin: 0 auto;
}

.tn-team-body {
    padding: 20px 20px 26px;
}

.tn-team-body h3 {
    font-size: 1.1rem;
    margin: 0 0 6px;
    color: #fff;
}

.tn-team-body span {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tn-accent-2);
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 14px;
    border-radius: 999px;
}

.tn-team-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.32s ease;
}

.tn-team:hover .tn-team-socials {
    opacity: 1;
    transform: translateY(0);
}

.tn-team-socials a {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--tn-accent-2);
    text-decoration: none;
    transition: 0.25s ease;
}

.tn-team-socials a:hover {
    background: var(--tn-grad-accent);
    color: #20120a;
}

/* ======================================================= TESTIMONIAL ===== */
.tn-quote {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--tn-radius);
    padding: 32px 28px 28px;
    box-shadow: var(--tn-shadow-sm);
    transition: 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tn-quote::before {
    content: "\201C";
    position: absolute;
    right: 22px;
    top: -14px;
    font-family: Georgia, serif;
    font-size: 7rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.07);
}

.tn-quote:hover {
    transform: translateY(-8px);
    box-shadow: var(--tn-shadow-md);
    border-color: rgba(255, 138, 61, 0.45);
}

.tn-quote-stars {
    color: var(--tn-accent);
    font-size: 0.86rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.tn-quote-body {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
}

.tn-quote p {
    color: var(--tn-muted);
    line-height: 1.8;
    font-size: 0.96rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 10;
    line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tn-quote-person {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px dashed var(--tn-line);
}

.tn-quote-person img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.20);
}

.tn-quote-person strong {
    display: block;
    font-family: var(--tn-font-display);
    font-size: 1rem;
    color: #fff;
}

.tn-quote-person span {
    font-size: 0.84rem;
    color: var(--tn-accent-2);
    font-weight: 600;
}

/* ============================================================ CONTACT ==== */
.tn-contact-info {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--tn-radius);
    padding: 24px;
    height: 100%;
    box-shadow: var(--tn-shadow-sm);
    transition: 0.3s ease;
}

.tn-contact-info:hover {
    transform: translateY(-6px);
    box-shadow: var(--tn-shadow-md);
}

.tn-contact-info .tn-contact-ico {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tn-grad-brand);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 14px 28px rgba(59, 47, 191, 0.28);
}

.tn-contact-info h4 {
    font-size: 1.02rem;
    margin: 2px 0 8px;
    color: #fff;
}

.tn-contact-info a,
.tn-contact-info span {
    color: var(--tn-muted);
    text-decoration: none;
    line-height: 1.65;
    font-size: 0.95rem;
    word-break: break-word;
}

.tn-contact-info a:hover {
    color: var(--tn-accent-2);
}

.tn-map {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: var(--tn-radius);
    box-shadow: var(--tn-shadow-sm);
}

.tn-form-card {
    background: var(--tn-grad-dark);
    border-radius: var(--tn-radius-lg);
    padding: clamp(28px, 3vw, 42px);
    height: 100%;
    box-shadow: var(--tn-shadow-lg);
    position: relative;
    overflow: hidden;
}

.tn-form-card::before {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 138, 61, 0.5), transparent 65%);
    filter: blur(6px);
}

.tn-form-card h3,
.tn-form-card p {
    position: relative;
    z-index: 1;
}

.tn-form-card h3 {
    color: #fff;
    font-size: 1.35rem;
    margin: 0 0 8px;
}

.tn-form-card > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
    margin: 0 0 24px;
}

.tn-form-card .form-control,
.tn-form-card .form-select {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 0.95rem;
}

.tn-form-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.tn-form-card .form-control:focus {
    background: rgba(255, 255, 255, 0.13);
    border-color: var(--tn-accent);
    box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.20);
    color: #fff;
}

.tn-form-card textarea.form-control {
    resize: vertical;
}

/* Owl carousel sets `.owl-carousel .owl-item img { width: 100% }` with higher
   specificity - keep avatars/photos properly sized inside carousels. */
.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.owl-carousel .tn-team-media img {
    width: 168px;
    height: 168px;
    min-width: 168px;
}

.owl-carousel .tn-quote-person img {
    width: 54px;
    height: 54px;
    min-width: 54px;
}

/* ============================================================= FOOTER ==== */
.tn-footer {
    position: relative;
    background: #08091A;
    color: rgba(255, 255, 255, 0.70);
    padding-top: clamp(56px, 6vw, 84px);
    overflow: hidden;
}

.tn-footer::before {
    content: "";
    position: absolute;
    left: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(109, 91, 255, 0.35), transparent 65%);
}

.tn-footer-col {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.tn-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 18px;
}

.tn-footer-brand img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}

.tn-footer-brand span {
    font-family: var(--tn-font-display);
    font-weight: 800;
    font-size: 1.16rem;
    color: #fff;
    line-height: 1.25;
}

.tn-footer-brand span em {
    font-style: normal;
    background: var(--tn-grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tn-footer-about {
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0 0 22px;
    max-width: 340px;
}

.tn-footer-socials {
    display: flex;
    gap: 10px;
}

.tn-footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    transition: 0.26s ease;
}

.tn-footer-socials a:hover {
    background: var(--tn-grad-accent);
    border-color: transparent;
    color: #20120a;
    transform: translateY(-4px);
}

.tn-footer h4 {
    position: relative;
    color: #fff;
    font-size: 1.06rem;
    margin: 0 0 22px;
    padding-bottom: 14px;
}

.tn-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 3px;
    border-radius: 3px;
    background: var(--tn-grad-accent);
}

.tn-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tn-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.24s ease;
}

.tn-footer-links a i {
    color: var(--tn-accent-2);
    font-size: 0.72rem;
    transition: transform 0.24s ease;
}

.tn-footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.tn-footer-links a:hover i {
    transform: translateX(3px);
}

.tn-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tn-footer-contact li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tn-footer-contact .tn-fc-ico {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--tn-accent-2);
}

.tn-footer-contact a,
.tn-footer-contact span {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    line-height: 1.6;
    font-size: 0.94rem;
    word-break: break-word;
}

.tn-footer-contact a:hover {
    color: #fff;
}

.tn-footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.88rem;
}

.tn-footer-bottom a {
    color: var(--tn-accent-2);
    text-decoration: none;
}

.tn-footer-bottom a:hover {
    text-decoration: underline;
}

.tn-back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1020;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tn-grad-brand);
    color: #fff !important;
    border: 0;
    box-shadow: 0 16px 34px rgba(59, 47, 191, 0.4);
    transition: 0.28s ease;
}

.tn-back-top:hover {
    background: var(--tn-grad-accent);
    color: #20120a !important;
    transform: translateY(-4px);
}

/* ------------------------------------------- inner pages (light cards) --- */
.transfercertificate-card,
.enquiry-card,
.contact-form-wrap,
.latestevent .alert-message {
    color: var(--tn-onlight);
}

.cms-content-body {
    color: rgba(255, 255, 255, 0.86);
}

.cms-content-body h1,
.cms-content-body h2,
.cms-content-body h3,
.cms-content-body h4,
.cms-content-body h5,
.cms-content-body h6,
.cms-content-body strong,
.cms-content-body b {
    color: #fff;
}

.cms-content-body a {
    color: var(--tn-accent-2);
}

.cms-content-body table {
    color: rgba(255, 255, 255, 0.86);
}

.cms-content-body th {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.cms-content-body td,
.cms-content-body th {
    border-color: rgba(255, 255, 255, 0.12);
}

/* ============================================== RESPONSIVE (legacy list) == */
@media (max-width: 1299px) {
    .tn-nav-phone {
        display: none;
    }

    .tn-menu > .nav-item > .nav-link,
    .tn-menu > a.nav-link {
        padding: 10px 11px;
        font-size: 0.9rem;
    }
}

@media (max-width: 1199px) {
    .tn-hero-badge {
        display: none;
    }

    .tn-brand {
        max-width: 460px;
    }
}

@media (max-width: 991px) {
    :root {
        --tn-nav-h: 68px;
    }

    .tn-topbar {
        display: none;
    }

    .tn-menu,
    .tn-menubar,
    .tn-nav-actions .tn-cta {
        display: none;
    }

    .tn-brandbar-inner {
        justify-content: space-between;
        gap: 12px;
        min-height: 66px;
    }

    .tn-nav-actions {
        margin-left: auto;
    }

    .tn-burger {
        display: block;
    }

    .tn-brand-logo {
        width: 46px;
        height: 46px;
    }

    .tn-hero-item {
        min-height: clamp(430px, 68vh, 600px);
    }

    .tn-hero-content {
        padding-top: 56px;
        padding-bottom: 84px;
    }

    .tn-hero .tn-arrow {
        width: 46px;
        height: 46px;
    }

    .tn-hero .tn-arrow--prev { left: 12px; }
    .tn-hero .tn-arrow--next { right: 12px; }

    .tn-about-media {
        margin-bottom: 40px;
    }

    .tn-list {
        grid-template-columns: 1fr;
    }

    .tn-map {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    /* Slider controls take too much space over the image on phones -
       dots + swipe are enough. */
    .tn-hero .tn-arrow {
        display: none;
    }

    /* Mobile: keep the photo bright but guarantee the copy stays readable -
       gentle top/bottom shading instead of the desktop side gradient. */
    .tn-hero-item::before {
        background:
            linear-gradient(180deg, rgba(10, 11, 28, 0.54) 0%, rgba(10, 11, 28, 0.24) 52%, rgba(10, 11, 28, 0.66) 100%),
            linear-gradient(90deg, rgba(10, 11, 28, 0.42) 0%, rgba(10, 11, 28, 0.10) 100%);
    }

    /* Footer: Short Link + Help Link share one row - keep them tidy
       inside the narrower half-width columns. */
    .tn-footer h4 {
        font-size: 1rem;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .tn-footer-links {
        gap: 9px;
    }

    .tn-footer-links a {
        font-size: 0.87rem;
        gap: 7px;
    }

    .tn-footer-contact {
        gap: 8px;
    }

    .tn-title {
        font-size: clamp(1.6rem, 6vw, 2.1rem);
    }

    .tn-hero-title {
        font-size: clamp(1.85rem, 8vw, 2.6rem);
    }

    .tn-hero-actions .tn-btn {
        width: 100%;
        justify-content: center;
    }

    .tn-hero .tn-dots {
        bottom: 22px;
    }

    .tn-hero .tn-dots button {
        width: 26px;
    }

    .tn-stat {
        flex-direction: row;
        gap: 12px;
        padding: 16px;
    }

    .tn-about-img-main {
        width: 100%;
    }

    .tn-about-img-sub {
        position: relative;
        width: 100%;
        right: auto;
        bottom: auto;
        margin-top: 16px;
        border: 0;
    }

    .tn-about-media {
        padding-bottom: 0;
    }

    .tn-about-chip,
    .tn-about-frame {
        display: none;
    }

    .tn-card {
        padding: 26px 22px;
    }

    .tn-post-date {
        width: 54px;
        height: 54px;
        bottom: -18px;
    }

    .tn-footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .tn-back-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 575px) {
    .tn-brand-text {
        font-size: 0.98rem;
        white-space: normal;
        line-height: 1.15;
    }

    .tn-hero-item {
        min-height: 460px;
    }

    .tn-hero-content {
        padding-top: 44px;
        padding-bottom: 76px;
    }

    .tn-project img {
        aspect-ratio: 16 / 11;
    }

    .tn-quote {
        padding: 26px 22px;
    }

    .tn-contact-info {
        flex-direction: column;
        gap: 14px;
    }
}
