/* =================================================================
   TerryTechVisions — 2026 Beautify Pass
   Aurora bg · richer gradients · accent glow · vibrant CTAs
   ================================================================= */

body {
    background:
        var(--tt-bg-aurora),
        var(--tt-bg) !important;
    background-attachment: fixed, fixed;
}

body::before { opacity: .35; }

/* Sticky nav with glassy gradient */
.tt-nav {
    background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.65)) !important;
    border-bottom: 1px solid var(--tt-border-soft);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
}
[data-theme="dark"] .tt-nav,
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .tt-nav {
        background: linear-gradient(180deg, rgba(7,8,23,.85), rgba(7,8,23,.55)) !important;
    }
}

.tt-nav .nav-link {
    position: relative;
}
.tt-nav .nav-link::after {
    content: ""; position: absolute;
    left: 14px; right: 14px; bottom: 4px; height: 2px;
    background: var(--tt-grad);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
    border-radius: 2px;
}
.tt-nav .nav-link:hover::after,
.tt-nav .nav-link.active::after { transform: scaleX(1); }
.tt-nav .nav-link.active {
    color: var(--tt-accent) !important;
    font-weight: 700;
}
.tt-nav .nav-link.active::after { height: 3px; bottom: 2px; }

/* Brand mark glow */
.tt-brand-mark {
    box-shadow:
        3px 3px 0 var(--tt-border),
        0 0 24px rgba(168, 85, 247, .45);
}

/* Hero — multi-blob aurora */
.tt-hero { padding: 7rem 0 6rem; }
.tt-hero-blob {
    width: 620px; height: 620px;
    filter: blur(110px); opacity: .55;
}
.tt-hero::before {
    content: ""; position: absolute;
    width: 460px; height: 460px;
    left: -120px; bottom: -160px;
    background: var(--tt-grad-mint);
    filter: blur(120px); opacity: .45;
    border-radius: 50%;
    animation: ttFloat 14s ease-in-out infinite reverse;
    z-index: 0;
}
.tt-hero > .container { position: relative; z-index: 1; }
.tt-hero h1 { letter-spacing: -0.045em; }

/* Cards — subtle gradient border + colored glow on hover */
.tt-card {
    background:
        linear-gradient(180deg, var(--tt-surface-2), var(--tt-surface-2)) padding-box,
        var(--tt-grad) border-box;
    border: 1.5px solid transparent;
    box-shadow:
        var(--tt-shadow),
        var(--tt-shadow-color);
}
.tt-card:hover {
    transform: translate(-4px,-4px);
    box-shadow:
        9px 9px 0 var(--tt-border),
        0 24px 50px -12px rgba(168, 85, 247, .45);
}
.tt-card .icon-wrap {
    background: var(--tt-grad);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 22px -6px rgba(79, 70, 229, .55);
}

/* Section alt → gradient wash */
.tt-section.alt {
    background:
        linear-gradient(135deg, rgba(79,70,229,.07), rgba(255,94,126,.06) 50%, rgba(0,224,198,.06)),
        var(--tt-surface);
}

/* Eyebrow — gradient text */
.tt-eyebrow {
    background: var(--tt-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    border-left-color: var(--tt-accent-2);
}

/* Buttons — punchier */
.btn-tt-grad {
    background: var(--tt-grad);
    background-size: 200% 200%;
    transition: background-position .35s ease, transform .2s ease, box-shadow .2s ease;
    box-shadow: 4px 4px 0 var(--tt-border), 0 12px 28px -10px rgba(255, 94, 126, .55);
}
.btn-tt-grad:hover {
    background-position: 100% 0;
    box-shadow: 6px 6px 0 var(--tt-border), 0 18px 36px -12px rgba(168, 85, 247, .65);
}

.btn-tt-primary {
    background: var(--tt-grad-2);
    color: #fff;
    border-color: transparent;
    box-shadow: 4px 4px 0 var(--tt-border), 0 12px 28px -10px rgba(34, 211, 238, .5);
}
.btn-tt-primary:hover {
    background: var(--tt-grad);
    color: #fff;
}

/* Webinar cards — vivid header & price chip */
.tt-webinar {
    background:
        linear-gradient(180deg, var(--tt-surface-2), var(--tt-surface-2)) padding-box,
        var(--tt-grad-2) border-box;
    border: 1.5px solid transparent;
}
.tt-webinar-head {
    background: var(--tt-grad);
    position: relative; overflow: hidden;
}
.tt-webinar-head::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 50%);
    pointer-events: none;
}

/* Avatar palette refresh */
.tt-avatar.bg-primary { background: var(--tt-grad-2); }
.tt-avatar.bg-accent  { background: var(--tt-grad); }
.tt-avatar.bg-success { background: var(--tt-grad-mint); }
.tt-avatar.bg-warning { background: var(--tt-grad-gold); }
.tt-avatar.bg-info    { background: linear-gradient(135deg, #06b6d4, #4f46e5); }
.tt-avatar.bg-danger  { background: linear-gradient(135deg, #ff5e7e, #f5b301); }

/* Skill pills — soft tinted */
.tt-skill-pill {
    background: linear-gradient(135deg, rgba(79,70,229,.10), rgba(255,94,126,.10));
    border-color: transparent;
    color: var(--tt-text);
}

/* Chip dot — accent gradient */
.tt-chip { background: linear-gradient(135deg, rgba(0,224,198,.12), rgba(79,70,229,.12)); }
.tt-chip .dot { background: var(--tt-accent-2); }

/* Footer — deep gradient w/ glow */
.tt-footer {
    background:
        radial-gradient(800px 400px at 80% 0%, rgba(168,85,247,.25), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(0,224,198,.18), transparent 60%),
        linear-gradient(180deg, #0b0d24 0%, #050616 100%) !important;
    color: #c8cce0 !important;
    border-top: 1px solid rgba(255,255,255,.08);
}
.tt-footer h5 { color: #fff !important; letter-spacing: .04em; }
.tt-footer a { color: #c8cce0 !important; transition: color .2s ease; }
.tt-footer a:hover { color: #fff !important; }
.tt-footer .border-line {
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 1.25rem; margin-top: 2rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
    font-size: .85rem; color: #8a93b0;
}
.tt-powered a { background: var(--tt-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Theme toggle — gradient ring */
.tt-theme-toggle {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1.5px solid transparent;
    background:
        linear-gradient(var(--tt-bg), var(--tt-bg)) padding-box,
        var(--tt-grad) border-box;
    color: var(--tt-text);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .2s ease;
}
.tt-theme-toggle:hover { transform: rotate(20deg) scale(1.05); }

/* Reveal animation polish */
.tt-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.tt-reveal.in { opacity: 1; transform: none; }

/* Utility gradient backgrounds for quick use */
.tt-bg-grad   { background: var(--tt-grad); color: #fff; }
.tt-bg-grad-2 { background: var(--tt-grad-2); color: #fff; }
.tt-bg-mint   { background: var(--tt-grad-mint); color: #fff; }
.tt-bg-gold   { background: var(--tt-grad-gold); color: #1a1a1a; }

/* === Webinar Pro Card === */

/* === Webinar Pro Card (rich animations) === */
.tt-webinar-pro {
    position: relative;
    display: flex; flex-direction: column;
    background:
        linear-gradient(180deg, var(--tt-surface-2), var(--tt-surface-2)) padding-box,
        var(--tt-grad) border-box;
    border: 1.5px solid transparent;
    border-radius: var(--tt-radius);
    overflow: hidden;
    height: 100%;
    box-shadow: 6px 6px 0 var(--tt-border), 0 16px 40px -16px rgba(79,70,229,.35);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.tt-webinar-pro:hover {
    transform: translateY(-8px);
    box-shadow: 10px 10px 0 var(--tt-border), 0 30px 60px -18px rgba(168,85,247,.55);
}
.tt-webinar-pro::after {
    content: ""; position: absolute; inset: 0;
    border-radius: inherit; pointer-events: none;
    background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform .8s ease;
}
.tt-webinar-pro:hover::after { transform: translateX(120%); }

.tt-webinar-pro-head {
    position: relative;
    height: 170px;
    background: var(--tt-grad);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1.5px solid var(--tt-border);
}
.tt-webinar-pro.is-rec .tt-webinar-pro-head { background: var(--tt-grad-2); }
.tt-webinar-pro-head::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.45), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,.25), transparent 40%);
}
.tt-webinar-pro-emoji {
    font-size: 4.2rem;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
    z-index: 2;
}
.tt-webinar-pro:hover .tt-webinar-pro-emoji { transform: scale(1.18) rotate(-6deg); }

.tt-webinar-pro-glow {
    position: absolute; width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,.45), transparent 60%);
    border-radius: 50%;
    top: -60px; right: -60px;
    filter: blur(30px);
    animation: ttPulseGlow 4s ease-in-out infinite;
}
@keyframes ttPulseGlow {
    0%, 100% { transform: scale(1); opacity: .8; }
    50% { transform: scale(1.15); opacity: 1; }
}
.tt-webinar-pro-orbit {
    position: absolute; inset: 8px;
    border: 1.5px dashed rgba(255,255,255,.35);
    border-radius: 50%;
    animation: ttOrbitSpin 18s linear infinite;
    pointer-events: none;
}
@keyframes ttOrbitSpin { to { transform: rotate(360deg); } }

.tt-webinar-pro-badge { position: absolute; top: 12px; left: 12px; z-index: 3; }
.tt-webinar-pro-fee {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    background: #0b1020; color: #fff;
    border: 1.5px solid #fff; border-radius: 999px;
    padding: .25rem .75rem;
    font-weight: 800; font-size: .8rem; letter-spacing: .04em;
    box-shadow: 0 6px 20px -6px rgba(0,0,0,.5);
}
.tt-webinar-pro-fee.is-free {
    background: var(--tt-grad-mint); border-color: transparent;
    animation: ttBounceIn .8s ease;
}
@keyframes ttBounceIn {
    0% { transform: scale(.6); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.tt-webinar-pro-body {
    padding: 1.4rem 1.4rem 1.5rem;
    display: flex; flex-direction: column;
    flex-grow: 1;
}
.tt-webinar-pro-title {
    line-height: 1.25;
    background-image: linear-gradient(90deg, var(--tt-text), var(--tt-text));
    background-repeat: no-repeat;
    background-size: 0% 2px;
    background-position: 0 100%;
    transition: background-size .4s ease;
}
.tt-webinar-pro:hover .tt-webinar-pro-title {
    background-image: var(--tt-grad);
    background-size: 100% 3px;
}
.tt-webinar-pro-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--tt-grad);
    color: #fff; font-weight: 800; font-size: .85rem;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--tt-border);
    box-shadow: 2px 2px 0 var(--tt-border);
}
.tt-webinar-pro-level {
    background: linear-gradient(135deg, rgba(0,224,198,.15), rgba(79,70,229,.15));
    color: var(--tt-text);
    padding: .15rem .55rem; border-radius: 999px; font-weight: 600;
}
.tt-pill-soft {
    background: linear-gradient(135deg, rgba(168,85,247,.12), rgba(255,94,126,.12));
    color: var(--tt-text);
    padding: .25rem .65rem; border-radius: 999px; font-weight: 600;
}

/* Live badge breathing */
.tt-badge-live {
    background: linear-gradient(135deg, #ff5e7e, #f5b301);
    color: #fff; font-weight: 700;
    padding: .2rem .55rem; border-radius: 6px;
    border: 1.5px solid var(--tt-border);
    box-shadow: 2px 2px 0 var(--tt-border);
    animation: ttLivePulse 2.4s ease-in-out infinite;
    font-size: .72rem; letter-spacing: .08em;
}
@keyframes ttLivePulse {
    0%, 100% { box-shadow: 2px 2px 0 var(--tt-border), 0 0 0 0 rgba(255,94,126,.55); }
    50% { box-shadow: 2px 2px 0 var(--tt-border), 0 0 0 10px rgba(255,94,126,0); }
}
.tt-badge-rec {
    background: linear-gradient(135deg, #22d3ee, #4f46e5);
    color: #fff; font-weight: 700;
    padding: .2rem .55rem; border-radius: 6px;
    border: 1.5px solid var(--tt-border);
    box-shadow: 2px 2px 0 var(--tt-border);
    font-size: .72rem; letter-spacing: .08em;
}

/* Countdown timer */
.tt-countdown {
    display: flex; gap: .5rem;
    margin: .25rem 0 1rem;
}
.tt-countdown span {
    flex: 1;
    background: linear-gradient(135deg, rgba(79,70,229,.10), rgba(255,94,126,.10));
    border: 1px solid var(--tt-border-soft);
    border-radius: 8px;
    padding: .35rem .25rem;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
}
.tt-countdown b {
    display: block; font-size: 1.05rem; line-height: 1;
    color: var(--tt-text);
}
.tt-countdown small {
    display: block; font-size: .65rem; letter-spacing: .12em;
    color: var(--tt-text-muted); text-transform: uppercase;
}

/* =================================================================
   2026 Design refresh — brand logo, animations, footer, AI widget,
   contact page, team & advisory cards, client logo marquee.
   ================================================================= */

/* ---- Brand mark: swap block letter for real logo ---- */
.tt-brand--img { display:flex; align-items:center; gap:.55rem; }
.tt-brand-logo {
    width: 40px; height: 40px; object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(168,85,247,.45));
    animation: ttLogoPulse 5s ease-in-out infinite;
}
.tt-brand-word { font-weight: 800; letter-spacing: -0.01em; }
@keyframes ttLogoPulse {
    0%,100% { transform: scale(1);      filter: drop-shadow(0 0 12px rgba(168,85,247,.35)); }
    50%     { transform: scale(1.06);   filter: drop-shadow(0 0 22px rgba(0,224,198,.55)); }
}

/* ---- Global animation helpers ---- */
@keyframes ttRise    { from{opacity:0; transform:translateY(24px);} to{opacity:1; transform:translateY(0);} }
@keyframes ttFade    { from{opacity:0;} to{opacity:1;} }
@keyframes ttGrad    { 0%{background-position:0% 50%;} 50%{background-position:100% 50%;} 100%{background-position:0% 50%;} }
@keyframes ttFloatY  { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
@keyframes ttSpinSlow{ from{transform:rotate(0);} to{transform:rotate(360deg);} }
@keyframes ttPulseRing {
    0%{ box-shadow:0 0 0 0 rgba(0,224,198,.55);}
    70%{box-shadow:0 0 0 22px rgba(0,224,198,0);}
    100%{box-shadow:0 0 0 0 rgba(0,224,198,0);}
}
@keyframes ttMarquee { from{transform:translateX(0);} to{transform:translateX(-50%);} }

.tt-reveal.in           { animation: ttRise .8s ease both; }
.tt-anim-float          { animation: ttFloatY 6s ease-in-out infinite; }
.tt-grad-text           { background-size: 200% 200%; animation: ttGrad 6s ease infinite; }

/* ---- Redesigned footer ---- */
.tt-footer--pro {
    position: relative;
    background:
        radial-gradient(1200px 500px at 15% -10%, rgba(79,70,229,.35), transparent 55%),
        radial-gradient(900px 400px at 90% 110%, rgba(0,224,198,.25), transparent 55%),
        linear-gradient(180deg, #0b0d24 0%, #060819 100%);
    color: #e7e9ff;
    padding: 4.5rem 0 2rem;
    overflow: hidden;
}
.tt-footer--pro a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s ease, transform .2s ease; }
.tt-footer--pro a:hover { color: #fff; transform: translateX(2px); }
.tt-footer--pro h5 {
    color: #fff; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; font-size: .78rem; margin-bottom: .9rem;
    position: relative; padding-bottom: .5rem;
}
.tt-footer--pro h5::after {
    content:""; position:absolute; left:0; bottom:0; width:32px; height:2px;
    background: var(--tt-grad); border-radius:2px;
}
.tt-footer-glow {
    position:absolute; inset:auto -10% -40% -10%;
    height: 340px; pointer-events: none;
    background: radial-gradient(closest-side, rgba(168,85,247,.35), transparent 70%);
    filter: blur(80px);
}
.tt-footer-cta {
    display:flex; justify-content:space-between; align-items:center; gap:2rem;
    padding:1.5rem 1.75rem; margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
}
.tt-footer-cta h3 { color:#fff; font-weight: 800; }
.tt-footer-brand {
    display:flex; align-items:center; gap:.6rem;
    color:#fff !important; text-decoration:none; font-weight:800; font-size:1.15rem;
}
.tt-footer-brand img { width: 42px; height: 42px; object-fit: contain; }
.tt-footer-contact { margin-top:1rem; }
.tt-footer-contact li {
    display:flex; align-items:center; gap:.55rem;
    padding:.35rem 0; color: rgba(255,255,255,.78);
}
.tt-footer-contact i {
    background: var(--tt-grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; font-size:1.05rem;
}
.tt-footer-services li a { display:inline-block; padding:.15rem 0; }
.tt-footer-tech li {
    display:inline-block; padding:.2rem .55rem; margin:.15rem .2rem .15rem 0;
    border:1px solid rgba(255,255,255,.15); border-radius: 999px;
    font-size:.72rem; color: rgba(255,255,255,.85);
}
.tt-social a {
    width: 36px; height:36px; border-radius: 10px;
    display:inline-flex; align-items:center; justify-content:center;
    background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08);
    font-size:1.05rem;
}
.tt-social a:hover { background: var(--tt-grad); color:#fff !important; transform: translateY(-2px); }
.tt-footer--pro .border-line {
    margin-top: 2.5rem; padding-top:1.25rem;
    border-top: 1px solid rgba(255,255,255,.08);
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.5rem;
    font-size:.8rem; color: rgba(255,255,255,.6);
}
.tt-footer-badges { color: rgba(255,255,255,.75); }

/* ---- Contact page redesign ---- */
.tt-contact-grid { display:grid; grid-template-columns: 1.4fr 1fr; gap: 1.75rem; }
@media (max-width: 991.98px){ .tt-contact-grid { grid-template-columns: 1fr; } }
.tt-contact-form { padding: 2rem; }
.tt-contact-form .form-control,
.tt-contact-form .form-select {
    border-radius: 12px; padding: .75rem .9rem;
    border: 1.5px solid var(--tt-border-soft);
    transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.tt-contact-form .form-control:focus,
.tt-contact-form .form-select:focus {
    border-color: var(--tt-accent-2);
    box-shadow: 0 0 0 4px rgba(0,224,198,.15);
}
.tt-contact-info { display:flex; flex-direction:column; gap:1rem; }
.tt-contact-tile {
    display:flex; align-items:flex-start; gap:.9rem;
    padding: 1.1rem 1.2rem;
    background: var(--tt-surface-2);
    border-radius: 16px;
    border: 1px solid var(--tt-border-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tt-contact-tile:hover {
    transform: translateY(-3px);
    border-color: var(--tt-accent-2);
    box-shadow: 0 20px 40px -20px rgba(79,70,229,.35);
}
.tt-contact-tile .tt-ct-ico {
    width: 46px; height:46px; flex:none; border-radius: 12px;
    display:inline-flex; align-items:center; justify-content:center;
    background: var(--tt-grad); color:#fff; font-size:1.3rem;
    box-shadow: 0 10px 22px -6px rgba(168,85,247,.45);
}
.tt-contact-tile h4 { font-size:1rem; margin:0 0 .15rem; font-weight: 700; }
.tt-contact-tile p, .tt-contact-tile a { margin:0; color: var(--tt-text-muted); font-size:.9rem; word-break:break-word; }
.tt-contact-tile a:hover { color: var(--tt-accent); }
.tt-contact-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color:#fff !important; border-color: transparent !important;
}
.tt-contact-wa h4, .tt-contact-wa p, .tt-contact-wa a { color:#fff !important; }
.tt-contact-wa .tt-ct-ico { background: rgba(255,255,255,.18); }

/* ---- Team & Advisory improved cards ---- */
.tt-team-card {
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease;
}
.tt-team-card::before {
    content:""; position:absolute; inset:0 0 auto 0; height:90px;
    background: var(--tt-grad); opacity:.85;
    z-index: 0;
}
.tt-team-card > * { position: relative; z-index: 1; }
.tt-team-photo, .tt-team-initials {
    width: 108px; height:108px; border-radius: 50%;
    margin: 0 auto .9rem;
    border: 4px solid var(--tt-surface-2);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.35);
    object-fit: cover;
    background: var(--tt-surface);
    display:flex; align-items:center; justify-content:center;
    font-weight: 800; font-size: 1.6rem; color:#fff;
}
.tt-team-name { margin: .35rem 0 .1rem; font-weight: 700; }
.tt-team-role { color: var(--tt-accent); font-weight: 600; font-size:.9rem; margin-bottom:.5rem; }
.tt-team-meta {
    display:flex; justify-content:center; flex-wrap:wrap; gap:.35rem;
    margin-bottom:.75rem; font-size:.72rem; color: var(--tt-text-muted);
}
.tt-team-meta span {
    display:inline-flex; align-items:center; gap:.2rem;
    padding:.2rem .5rem; background: var(--tt-surface); border-radius: 999px;
    border: 1px solid var(--tt-border-soft);
}
.tt-team-bio { font-size:.86rem; color: var(--tt-text-muted); }
.tt-team-social {
    display:flex; justify-content:center; gap:.65rem; margin-top: .75rem;
    padding-top: .75rem; border-top: 1px dashed var(--tt-border-soft);
}
.tt-team-social a {
    width:32px; height:32px; border-radius: 8px;
    display:inline-flex; align-items:center; justify-content:center;
    background: var(--tt-surface); color: var(--tt-text-muted);
    transition: all .2s ease;
}
.tt-team-social a:hover { background: var(--tt-grad); color:#fff; transform: translateY(-2px); }

/* ---- Client logos grid + marquee ---- */
.tt-client-grid {
    display:grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1rem;
}
.tt-client-tile {
    aspect-ratio: 16 / 9;
    background: var(--tt-surface-2);
    border: 1px solid var(--tt-border-soft);
    border-radius: 16px;
    display:flex; align-items:center; justify-content:center; flex-direction:column; gap:.4rem;
    padding: 1rem;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative; overflow: hidden;
}
.tt-client-tile::after {
    content:""; position:absolute; inset:0;
    background: var(--tt-grad); opacity: 0;
    transition: opacity .3s ease; z-index: 0;
}
.tt-client-tile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 40px -20px rgba(79,70,229,.45); }
.tt-client-tile:hover::after { opacity: .08; }
.tt-client-tile img { max-height: 60%; max-width: 80%; object-fit: contain; position:relative; z-index:1; filter: grayscale(30%); transition: filter .3s ease; }
.tt-client-tile:hover img { filter: grayscale(0); }
.tt-client-tile .tt-client-name { font-size:.78rem; color: var(--tt-text-muted); font-weight:600; position:relative; z-index:1; }

.tt-client-marquee {
    overflow: hidden; padding: 2rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tt-client-marquee-track {
    display:flex; gap: 2.5rem; width: max-content;
    animation: ttMarquee 30s linear infinite;
}
.tt-client-marquee-track img { height: 46px; opacity:.75; filter: grayscale(60%); transition: all .3s ease; }
.tt-client-marquee-track img:hover { opacity: 1; filter: none; transform: scale(1.1); }

/* ---- AI Assistant widget ---- */
.tt-ai { position: fixed; left: 24px; bottom: 24px; z-index: 1080; }
.tt-ai-fab {
    display:inline-flex; align-items:center; gap:.55rem;
    padding: .8rem 1.15rem .8rem .95rem;
    border:none; border-radius: 999px;
    background: var(--tt-grad); background-size:200% 200%;
    color:#fff; font-weight: 700; font-size:.9rem;
    box-shadow: 0 18px 40px -10px rgba(168,85,247,.55), 0 0 0 4px rgba(255,255,255,.06);
    cursor: pointer;
    animation: ttGrad 6s ease infinite, ttPulseRing 2.4s ease-out infinite;
    position: relative;
}
.tt-ai-fab i { font-size: 1.4rem; }
.tt-ai-fab-label { white-space: nowrap; }
.tt-ai-fab:hover { transform: translateY(-2px); }
.tt-ai-pulse {
    position:absolute; inset:0; border-radius: inherit;
    border: 2px solid rgba(255,255,255,.35); pointer-events:none;
    animation: ttFloatY 3s ease-in-out infinite;
}
.tt-ai-panel {
    position: absolute; left: 0; bottom: 72px;
    width: min(380px, calc(100vw - 40px));
    max-height: 78vh;
    background: var(--tt-surface-2);
    border: 1px solid var(--tt-border-soft);
    border-radius: 22px;
    box-shadow: 0 30px 70px -20px rgba(0,0,0,.4), 0 0 0 6px rgba(79,70,229,.08);
    display:flex; flex-direction: column;
    overflow: hidden;
    animation: ttRise .3s ease both;
}
.tt-ai-head {
    display:flex; justify-content:space-between; align-items:center;
    padding: .95rem 1rem;
    background: linear-gradient(135deg, #4f46e5 0%, #a855f7 50%, #ff5e7e 100%);
    color:#fff;
}
.tt-ai-head .fw-bold { font-size:.95rem; }
.tt-ai-avatar {
    width: 40px; height:40px; border-radius: 12px;
    background: rgba(255,255,255,.18);
    display:inline-flex; align-items:center; justify-content:center;
    overflow:hidden;
}
.tt-ai-avatar img { width: 28px; height: 28px; object-fit: contain; }
.tt-ai-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:#20e07a; margin-right:4px; box-shadow: 0 0 0 3px rgba(32,224,122,.25); }
.tt-ai-close {
    background: rgba(255,255,255,.12); border:none; color:#fff;
    width: 32px; height:32px; border-radius: 10px; cursor: pointer;
    display:inline-flex; align-items:center; justify-content:center;
}
.tt-ai-close:hover { background: rgba(255,255,255,.22); }
.tt-ai-body {
    padding: 1rem;
    overflow-y: auto; flex: 1;
    background: var(--tt-surface);
}
.tt-ai-msg { display:flex; margin-bottom: .75rem; animation: ttRise .35s ease both; }
.tt-ai-msg--bot { justify-content: flex-start; }
.tt-ai-msg--user { justify-content: flex-end; }
.tt-ai-bubble {
    display:inline-block; max-width: 85%;
    padding: .65rem .85rem;
    border-radius: 16px;
    font-size:.87rem; line-height: 1.45;
    background: var(--tt-surface-2);
    border: 1px solid var(--tt-border-soft);
    color: var(--tt-text);
}
.tt-ai-msg--user .tt-ai-bubble {
    background: var(--tt-grad); color:#fff; border-color: transparent;
    border-bottom-right-radius: 4px;
}
.tt-ai-msg--bot .tt-ai-bubble { border-bottom-left-radius: 4px; }
.tt-ai-typing .tt-ai-bubble { display:inline-flex; gap:4px; align-items:center; }
.tt-ai-typing span {
    display:inline-block; width:6px; height:6px; border-radius:50%;
    background: var(--tt-text-muted); opacity:.4;
    animation: ttFloatY .9s ease-in-out infinite;
}
.tt-ai-typing span:nth-child(2){ animation-delay: .15s; }
.tt-ai-typing span:nth-child(3){ animation-delay: .3s; }
.tt-ai-suggest { display:flex; flex-wrap:wrap; gap:.4rem; margin-top: .5rem; }
.tt-ai-chip {
    border: 1px solid var(--tt-border-soft);
    background: var(--tt-surface-2);
    color: var(--tt-text); border-radius: 999px;
    padding: .3rem .7rem; font-size:.75rem; cursor: pointer;
    transition: all .2s ease;
}
.tt-ai-chip:hover { background: var(--tt-grad); color:#fff; border-color: transparent; transform: translateY(-1px); }
.tt-ai-input {
    display:flex; gap:.4rem; align-items:center;
    padding: .6rem .7rem;
    border-top: 1px solid var(--tt-border-soft);
    background: var(--tt-surface-2);
}
.tt-ai-input input {
    flex:1; border:none; outline:none; background: transparent;
    padding: .5rem .6rem; font-size:.9rem; color: var(--tt-text);
}
.tt-ai-input button {
    width: 40px; height:40px; border-radius: 12px; border:none;
    background: var(--tt-grad); color:#fff; cursor:pointer;
    display:inline-flex; align-items:center; justify-content:center;
    font-size: 1.05rem;
    transition: transform .2s ease;
}
.tt-ai-input button:hover { transform: scale(1.05); }
.tt-ai-foot {
    text-align:center; padding:.5rem; font-size:.7rem;
    color: var(--tt-text-muted); background: var(--tt-surface-2);
    border-top: 1px solid var(--tt-border-soft);
}

/* Nudge WhatsApp fab so it doesn't overlap AI on tiny screens */
@media (max-width: 480px) {
    .tt-ai-fab-label { display:none; }
    .tt-ai-fab { padding:.85rem; }
}

/* ================= About: animated logo showcase ================= */
.tt-logo-showcase { position:relative; width:min(420px,100%); aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
.tt-logo-core { position:relative; width:58%; aspect-ratio:1/1; border-radius:50%; display:flex; align-items:center; justify-content:center;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.45) 60%, rgba(255,255,255,0));
    box-shadow: 0 20px 60px rgba(108,92,231,.35), inset 0 0 40px rgba(255,255,255,.6);
    backdrop-filter: blur(6px);
    animation: ttFloat 6s ease-in-out infinite;
}
.tt-logo-core img { width:78%; height:auto; filter: drop-shadow(0 8px 20px rgba(108,92,231,.35)); animation: ttSpinSlow 24s linear infinite; }
.tt-logo-glow { position:absolute; inset:-8%; border-radius:50%;
    background: conic-gradient(from 0deg, #6c5ce7, #00b894, #fd79a8, #6c5ce7);
    filter: blur(28px); opacity:.55; z-index:-1; animation: ttSpin 12s linear infinite;
}
.tt-orbit { position:absolute; border-radius:50%; border:1.5px dashed rgba(108,92,231,.35); animation: ttSpin 30s linear infinite; }
.tt-orbit--1 { inset:6%; }
.tt-orbit--2 { inset:16%; border-style:dotted; border-color:rgba(0,184,148,.45); animation-duration:22s; animation-direction:reverse; }
.tt-orbit--3 { inset:26%; border-color:rgba(253,121,168,.4); animation-duration:38s; }
.tt-spark { position:absolute; width:44px; height:44px; border-radius:14px; display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:1.15rem; background: linear-gradient(135deg,#6c5ce7,#00b894);
    box-shadow: 0 12px 28px rgba(108,92,231,.4); animation: ttFloat 5s ease-in-out infinite;
}
.tt-spark--a { top:4%;   left:44%;                        background: linear-gradient(135deg,#6c5ce7,#8b5cf6); }
.tt-spark--b { top:22%;  right:2%;  animation-delay:.6s;  background: linear-gradient(135deg,#00b894,#22d3ee); }
.tt-spark--c { bottom:14%; right:6%; animation-delay:1.2s; background: linear-gradient(135deg,#f59e0b,#fd79a8); }
.tt-spark--d { bottom:2%;  left:40%; animation-delay:1.8s; background: linear-gradient(135deg,#ef4444,#f59e0b); }
.tt-spark--e { bottom:20%; left:2%;  animation-delay:2.4s; background: linear-gradient(135deg,#10b981,#6c5ce7); }
.tt-spark--f { top:24%;    left:4%;  animation-delay:3s;   background: linear-gradient(135deg,#fd79a8,#6c5ce7); }
@keyframes ttSpin { to { transform: rotate(360deg); } }
@keyframes ttSpinSlow { to { transform: rotate(-360deg); } }

/* ================= About: collapsible value cards ================= */
.tt-value-card { display:flex; flex-direction:column; }
.tt-value-body { white-space:pre-line; transition: max-height .35s ease; }
.tt-value-body[data-collapsed="true"] {
    max-height: 9.5em; overflow:hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
            mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.tt-value-body[data-collapsed="false"] { max-height: 4000px; -webkit-mask-image:none; mask-image:none; }
.tt-value-toggle { color:#6c5ce7; font-weight:600; text-decoration:none; align-self:flex-start; }
.tt-value-toggle .less-label { display:none; }
.tt-value-card.is-open .tt-value-toggle .more-label { display:none; }
.tt-value-card.is-open .tt-value-toggle .less-label { display:inline; }

/* ================= Profile cards + modal ================= */
.tt-profile-card { cursor:pointer; transition: transform .25s ease, box-shadow .25s ease; }
.tt-profile-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,24,40,.12); }
.tt-profile-card:focus-visible { outline: 3px solid rgba(108,92,231,.4); outline-offset: 3px; }
.tt-clamp-3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.tt-profile-cta { margin-top:.75rem; color:#6c5ce7; font-weight:600; }
.tt-profile-modal .modal-content { border:0; border-radius:16px; overflow:hidden; }
.tt-profile-modal-header { background: linear-gradient(135deg, rgba(108,92,231,.12), rgba(0,184,148,.12)); }
.tt-profile-modal-photo { width:72px; height:72px; border-radius:50%; object-fit:cover; box-shadow:0 6px 18px rgba(16,24,40,.15); }

/* Logo-as-avatar fallback when a member has no photo */
.tt-logo-fallback {
    display:inline-flex; align-items:center; justify-content:center;
    background: linear-gradient(135deg, rgba(108,92,231,.18), rgba(0,184,148,.18)) !important;
    border: 1px solid rgba(108,92,231,.25);
    padding: 6px;
}
.tt-logo-fallback img {
    width: 72%; height: 72%; object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(108,92,231,.35));
}

/* ================= Our Story: section, stats, timeline, projects ================= */
.tt-story-section { position:relative; overflow:hidden; }
.tt-story-blob { position:absolute; border-radius:50%; filter: blur(80px); opacity:.35; pointer-events:none; z-index:0; }
.tt-story-blob--a { width:380px; height:380px; background:#6c5ce7; top:-120px; left:-100px; }
.tt-story-blob--b { width:420px; height:420px; background:#00b894; bottom:-160px; right:-140px; }

.tt-story-stats { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tt-stat {
    background: var(--tt-surface, rgba(255,255,255,.06));
    border: 1px solid var(--tt-border-soft, rgba(255,255,255,.1));
    border-radius: 16px; padding: 18px 16px; text-align:center;
    backdrop-filter: blur(6px);
    transition: transform .25s ease, box-shadow .25s ease;
}
.tt-stat:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(108,92,231,.25); }
.tt-stat .num { font-family:'Space Grotesk', system-ui, sans-serif; font-size: 2.1rem; font-weight: 800; line-height:1; }
.tt-stat .lbl { color: var(--tt-text-muted, #7a869a); font-size:.85rem; margin-top:.35rem; }

.tt-timeline {
    position:relative; margin: 3rem 0 1rem; padding-left: 28px;
    border-left: 2px dashed rgba(108,92,231,.35);
}
.tt-tl-item { position:relative; padding: 0 0 1.5rem .25rem; }
.tt-tl-dot {
    position:absolute; left:-38px; top:6px; width:18px; height:18px; border-radius:50%;
    background: linear-gradient(135deg,#6c5ce7,#00b894);
    box-shadow: 0 0 0 4px rgba(108,92,231,.18);
}
.tt-tl-year { font-size:.8rem; letter-spacing:1.5px; text-transform:uppercase; color:#6c5ce7; font-weight:700; }
.tt-tl-body h5 { margin:.25rem 0 .35rem; }

.tt-project-card { transition: transform .25s ease, box-shadow .25s ease; }
.tt-project-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,24,40,.12); }
.tt-project-card .icon-wrap i { font-size: 1.4rem; }
.tt-project-logo { width:48px; height:48px; object-fit:contain; background:#fff; padding:6px; border-radius:12px; box-shadow: 0 4px 12px rgba(16,24,40,.08); }

/* ================= Typewriter effect ================= */
.tt-typewriter { display:inline-block; }
.tt-tw-text {
    background: linear-gradient(135deg,#6c5ce7,#00b894,#fd79a8);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    font-weight: 800;
}
.tt-tw-caret {
    display:inline-block; margin-left: 2px; font-weight: 400;
    color:#6c5ce7; animation: ttCaretBlink 1s steps(1) infinite;
}
@keyframes ttCaretBlink { 50% { opacity: 0; } }

/* ================= Dark mode readability fixes ================= */
/* Ensure Bootstrap backdrop actually darkens the page in both themes */
.modal-backdrop { background-color: #000; }
.modal-backdrop.show { opacity: .6; }

/* Ensure modals always sit above floating widgets (AI/WhatsApp/marquee) */
.modal-backdrop { z-index: 20000 !important; }
.modal { z-index: 20010 !important; }

/* Always give modals a solid surface, even in light mode */
.modal-content {
    background-color: #ffffff;
    color: #101828;
    box-shadow: 0 30px 80px rgba(16,24,40,.35);
}

/* Make the close button always visible and easy to hit */
.modal .btn-close {
    opacity: 1;
    background-color: rgba(0,0,0,.06);
    border-radius: 50%;
    padding: .6rem;
    transition: background .2s ease, transform .2s ease;
}
.modal .btn-close:hover { background-color: rgba(0,0,0,.12); transform: scale(1.05); }

[data-theme="dark"] .modal-content {
    background-color: #1a1930 !important;
    color: #e6e8ef;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-body,
[data-theme="dark"] .modal-footer { background: transparent; color:#e6e8ef; }
[data-theme="dark"] .modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(1.8);
    background-color: rgba(255,255,255,.1);
}
[data-theme="dark"] .modal .btn-close:hover { background-color: rgba(255,255,255,.2); }
[data-theme="dark"] .modal-content .text-muted,
[data-theme="dark"] .modal-content .small.text-muted { color: #b6bcd0 !important; }
[data-theme="dark"] .modal-content .modal-title { color: #fff; }
[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer { border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .modal-header .btn-close { filter: invert(1) grayscale(100%) brightness(1.6); }

[data-theme="dark"] .tt-profile-modal-header {
    background: linear-gradient(135deg, rgba(108,92,231,.25), rgba(0,184,148,.2));
}
[data-theme="dark"] .tt-profile-modal .tt-chip {
    background: rgba(255,255,255,.06); color:#e6e8ef; border-color: rgba(255,255,255,.12);
}
[data-theme="dark"] .tt-profile-modal .tt-skill-pill {
    background: rgba(108,92,231,.18); color:#d9d1ff; border-color: rgba(108,92,231,.35);
}

/* Announcement details modal cards in dark mode */
[data-theme="dark"] .tt-announce-card { background:#1a1930; color:#e6e8ef; }
[data-theme="dark"] .tt-announce-card .text-muted { color:#b6bcd0 !important; }

/* Team card body text on dark hero backgrounds */
[data-theme="dark"] .tt-team-card { color:#e6e8ef; }
[data-theme="dark"] .tt-team-card .tt-team-role,
[data-theme="dark"] .tt-team-card .tt-team-meta,
[data-theme="dark"] .tt-team-card .tt-team-bio { color:#b6bcd0; }

@media (max-width: 576px) {
    .tt-story-stats { grid-template-columns: 1fr; }
}

/* ================= Announcement marquee & cards ================= */
.tt-announce-bar {
    position: relative;
    display:flex; align-items:center; gap:.75rem;
    background: linear-gradient(90deg,#101828,#2b1e5c 50%,#0a5c4b);
    color:#fff; padding:.5rem .75rem; overflow:hidden;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.tt-announce-label {
    display:inline-flex; align-items:center; padding:.25rem .6rem; border-radius:999px;
    background: linear-gradient(135deg,#6c5ce7,#fd79a8); font-size:.75rem; font-weight:700; letter-spacing:1px;
    text-transform:uppercase; white-space:nowrap;
}
.tt-announce-track { flex:1; overflow:hidden; position:relative; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tt-announce-move { display:inline-flex; gap:2.5rem; white-space:nowrap; animation: ttMarquee 40s linear infinite; padding-left:1rem; }
.tt-announce-item a { color:#fff; text-decoration:none; font-weight:500; }
.tt-announce-item a:hover { text-decoration: underline; }
.tt-announce-bar:hover .tt-announce-move { animation-play-state: paused; }
.tt-announce-open { background:rgba(255,255,255,.15); color:#fff; border:0; border-radius:8px; padding:.25rem .5rem; }
.tt-announce-open:hover { background:rgba(255,255,255,.25); }
@keyframes ttMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tt-announce-card { overflow:hidden; border-radius:14px; }
.tt-announce-flier { width:100%; height:220px; object-fit:cover; display:block; }

/* ================= Read more toggle ================= */
.tt-readmore {
    color: var(--tt-primary, #6c5ce7);
    font-weight: 600;
    text-decoration: none;
    border: 0;
    background: transparent;
}
.tt-readmore:hover { text-decoration: underline; }

/* ================= Responsive polish (mobile / tablet / desktop) ================= */
/* Mobile first */
@media (max-width: 575.98px) {
    .tt-hero h1 { font-size: 1.9rem; line-height: 1.2; }
    .tt-hero .lead { font-size: 1rem; }
    .tt-section, .tt-section.alt { padding-top: 2.25rem; padding-bottom: 2.25rem; }
    .tt-section-title h2 { font-size: 1.5rem; }
    .tt-card { padding: 1.15rem; }
    .tt-avatar { width: 64px; height: 64px; font-size: 1.15rem; }
    .tt-team-photo { width: 96px; height: 96px; }
    .tt-login-shell { padding: 1rem; }
    .tt-login-card { padding: 1.5rem 1.25rem; border-radius: 16px; }
    .btn-lg { font-size: 1rem; padding: .65rem 1rem; }
    .tt-chip { font-size: .75rem; padding: .3rem .55rem; }
    .tt-announce-flier { height: 160px; }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
    .tt-hero h1 { font-size: 2.4rem; }
    .tt-section, .tt-section.alt { padding-top: 3rem; padding-bottom: 3rem; }
    .tt-section-title h2 { font-size: 1.85rem; }
    .tt-card { padding: 1.35rem; }
    .tt-login-card { max-width: 460px; }
    .tt-announce-flier { height: 190px; }
}

/* Desktop refinements */
@media (min-width: 992px) {
    .tt-card { padding: 1.5rem; }
}

/* Ensure team cards stay equal height on any breakpoint */
.tt-card.h-100 { display: flex; flex-direction: column; }
.tt-card.h-100 > *:last-child { margin-top: auto; }

/* Prevent horizontal scroll on small screens */
html, body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }

