/* 
 * TYNCAD Global Stylesheet
 * Consolidates all component-level and structural CSS.
 */

:root {
    --tc-blue: #004AAD;
    /* Primary Cobalt Blue */
    --tc-accent: #FF7F00;
    /* Main Accent Orange */
    --tc-dark: #0A1128;
    --tc-deep: #060C1D;
    /* Deep navy for hero backgrounds */
    --tc-gray: #6B7280;

    /* Sentinel specific variables merged */
    --sentinel-bg: #F8F9FC;
    --sentinel-primary: var(--tc-blue);
    --sentinel-primary-hover: #003a8c;
    --sentinel-text: #4F566B;
    --sentinel-heading: #0A1128;
    --sentinel-accent: var(--tc-accent);
    --sentinel-green: #00C853;
    --sentinel-red: #D50000;
    --sentinel-radius-lg: 24px;
    --sentinel-radius-md: 16px;
    --sentinel-radius-sm: 8px;

    /* New Gradient Tokens */
    --cobalt-gradient: linear-gradient(135deg, #004AAD 0%, #002D6B 100%);
    --cobalt-gradient-light: linear-gradient(135deg, #0059D1 0%, #004AAD 100%);
}

/* 1. GLOBAL RESETS & THEME FIXES - AGGRESSIVE */
html {
    margin: 0 !important;
    padding: 0 !important;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'DM Sans', sans-serif;
    color: var(--tc-dark);
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
}

/* Kill WP Admin Bar Space locally if detected */
#wpadminbar {
    display: none !important;
}

/* Kill theme headers, titles, breadcrumbs and default footers on homepage */
body.home .entry-header,
body.home .page-header,
body.home .entry-title,
body.home .site-title,
body.home .site-branding,
body.home .ast-breadcrumbs-wrapper,
body.home .main-header-bar-navigation,
body.home .hello-theme-header-footer,
body.home .site-footer:not(.elementor-location-footer),
body.home .site-info,
body.home .ast-small-footer,
body.home .ast-footer-copyright {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
    border: 0 !important;
}

/* Globally hide redundant site title and description text next to the image logo without collapsing the header */
.site-title,
.site-description,
.ast-site-title-wrap .site-title,
.ast-site-title-wrap .site-description {
    font-size: 0 !important;
    color: transparent !important;
    line-height: 0 !important;
}

/* Ensure any image inside the site-title remains visible */
.site-title img,
.site-description img,
.ast-site-title-wrap img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto;
    height: auto;
}

/* Force zero-gap layout for page containers */
body.home #page,
body.home #content,
body.home .site-content,
body.home #primary,
body.home #main,
body.home article,
body.home .entry-content,
body.home .elementor-section-wrap,
body.home .elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated,
body.home .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
    gap: 0 !important;
}

/* Specific fix to join lead capture to footer */
body.home .tc-lead-section {
    border-bottom: none !important;
    padding-bottom: 120px !important;
    margin-bottom: -15px !important;
    /* Keep internal padding but zero out external */
}

body.home footer,
body.home .site-footer,
body.home .elementor-location-footer {
    margin-top: 0 !important;
    border-top: none !important;
    padding-top: 0 !important;
}

/* Header Transparency Logic */
body.home:not(.scrolled) #masthead,
body.home:not(.scrolled) .site-header,
body.home:not(.scrolled) .main-header-bar,
body.home:not(.scrolled) .elementor-header,
body.single-case_study:not(.scrolled) .tc-header,
body.post-type-archive-case_study:not(.scrolled) .tc-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    z-index: 9999 !important;
}

/* =============================================================
   2. HEADER & NAVIGATION — FINAL POLISHED VERSION
   ============================================================= */

/* --- Header Bar: floating pill with gap from top --- */
.tc-header {
    position: fixed;
    top: 12px;
    left: 3%;
    /* NO transform — transforms break fixed children */
    width: 94%;
    max-width: none;
    /* Let left+width handle centering */
    z-index: 100000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 10px 32px;
    border-radius: 20px;
    /* ALL 4 corners rounded */
    box-shadow: 0 4px 24px rgba(0, 74, 173, 0.10), 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: top 0.35s ease, border-radius 0.35s ease, padding 0.35s ease,
        box-shadow 0.35s ease, left 0.35s ease, width 0.35s ease;
}

/* On scroll: expand to full-width, flatten top corners */
body.scrolled .tc-header {
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0 0 20px 20px;
    padding: 8px 5%;
    box-shadow: 0 6px 30px rgba(0, 74, 173, 0.12);
}

/* --- Logo --- */
.tc-logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.tc-logo img {
    height: 42px;
    width: auto;
    display: block;
}

.tc-logo:hover {
    opacity: 0.75;
}

/* --- Desktop Nav --- */
.tc-nav {
    display: flex;
    gap: 2px;
    align-items: center;
}

.tc-nav-item {
    position: static;
    /* IMPORTANT: static so mega menu escapes via fixed */
    padding: 16px 0;
}

.tc-nav-item>a {
    text-decoration: none !important;
    color: #1a1a2e !important;
    font-weight: 600;
    font-size: 0.88rem;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 13px;
    border-radius: 8px;
    white-space: nowrap;
}

.tc-nav-item>a:hover,
.tc-nav-item.active>a {
    color: var(--tc-blue) !important;
    background: rgba(0, 74, 173, 0.06);
}

.tc-nav-item>a svg {
    opacity: 0.35;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.tc-nav-item:hover>a svg {
    transform: rotate(180deg);
    opacity: 0.7;
}

/* =============================================================
   MEGA MENU — TRUE FULL-WIDTH, VIEWPORT-ANCHORED
   Key: tc-header has NO transform so fixed children
   correctly use the viewport as their containing block.
   ============================================================= */
.tc-mega-menu {
    position: fixed;
    top: 72px;
    /* clear the floating header + gap */
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background: #fff;
    border-top: 1px solid rgba(0, 74, 173, 0.06);
    border-bottom: 2px solid rgba(0, 74, 173, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    transform: translateY(-6px);
    z-index: 99998;
    overflow: hidden;
}

.tc-mega-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
}

.tc-nav-item:hover>.tc-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Inner wrapper — centers content inside the full-width panel */
.tc-mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 40px 52px;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 56px;
    align-items: start;
}

body.scrolled .tc-mega-menu {
    top: 56px;
}


/* --- Mega menu internal layout --- */
.tc-mega-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.tc-mega-cols.three {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.tc-mega-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--tc-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 74, 173, 0.1);
}

.tc-mega-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background 0.2s;
    margin-bottom: 4px;
}

.tc-mega-link:hover,
.tc-mega-link.active {
    background: rgba(0, 74, 173, 0.05);
}

.tc-mega-link:hover h5,
.tc-mega-link.active h5 {
    color: var(--tc-blue) !important;
}

.tc-mega-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 74, 173, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-blue);
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.tc-mega-link:hover .tc-mega-link-icon,
.tc-mega-link.active .tc-mega-link-icon {
    background: var(--tc-blue);
    color: #fff;
}

.tc-mega-link-text h5 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 2px;
    transition: color 0.2s;
}

.tc-mega-link-text p {
    font-size: 0.78rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.4;
}

.tc-mega-feature {
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    min-height: 220px;
    position: relative;
}

.tc-mega-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0, 74, 173, 0.7) 0%, rgba(0, 20, 80, 0.92) 100%);
}

.tc-mega-feature-content {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.tc-mega-feature h6 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.tc-mega-feature a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.tc-mega-feature a:hover {
    color: #fff;
}

/* --- Mobile Toggle --- */
.tc-mobile-toggle {
    display: none;
    cursor: pointer;
    color: var(--tc-blue);
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.tc-mobile-toggle:hover {
    background: rgba(0, 74, 173, 0.08);
}

/* --- Mobile Drawer --- */
.tc-mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.tc-mobile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.tc-mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, 90%);
    height: 100%;
    background: #fff;
    overflow-y: auto;
    padding: 30px 24px 60px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-mobile-drawer.open .tc-mobile-panel {
    transform: translateX(0);
}

.tc-mobile-drawer.open {
    display: block;
}

.tc-mobile-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 74, 173, 0.08);
}

.tc-mobile-close {
    cursor: pointer;
    color: #6B7280;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
}

.tc-mobile-close:hover {
    background: #f3f4f6;
    color: #111;
}

.tc-mobile-nav-item a {
    display: block;
    padding: 12px 4px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #111 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: color 0.2s;
}

.tc-mobile-nav-item a:hover {
    color: var(--tc-blue) !important;
}

.tc-mobile-section-title {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--tc-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 24px 0 10px;
}

.tc-mobile-cta {
    margin-top: 30px;
}

.tc-mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--tc-blue);
    color: #fff !important;
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none !important;
}

/* --- Responsive breakpoints --- */
@media (max-width: 1100px) {
    .tc-nav {
        gap: 0;
    }

    .tc-nav-item>a {
        font-size: 0.85rem;
        padding: 6px 8px;
    }
}

@media (max-width: 960px) {
    .tc-nav {
        display: none;
    }

    .tc-mobile-toggle {
        display: block;
    }

    .tc-header {
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px 20px;
        border-radius: 0 0 20px 20px;

    }

    .tc-mega-menu {
        display: none !important;
    }

    /* Never show on mobile — use drawer */
}

/* 3. GLOBAL SECTION HEADERS - CONSISTENCY ENGINE */
.tc-section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.tc-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin-bottom: 24px !important;
    letter-spacing: -2px !important;
    line-height: 1.1 !important;
}

.tc-section-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    color: #4B5563 !important;
    margin: 0 !important;
    font-weight: 400;
}

.tc-gradient-text {
    background: linear-gradient(135deg, var(--tc-blue) 0%, #4040F2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--tc-blue);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 18px;
    font-family: 'Outfit', sans-serif;
}

/* 3. GLOBAL SECTION HEADERS */
.tc-section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.tc-section-title {
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    color: #111 !important;
    margin-bottom: 20px !important;
    letter-spacing: -2px !important;
    line-height: 1.2 !important;
}

.tc-section-desc {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    color: #4B5563 !important;
    margin: 0 !important;
}

.tc-gradient-text {
    background: linear-gradient(135deg, var(--tc-blue) 0%, #4040F2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--tc-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.tc-mega-cols.three {
    grid-template-columns: 1fr 1fr 1fr;
    width: auto;
}

/* 3. GLOBAL SECTION HEADERS */
.tc-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tc-section-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.tc-section-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4B5563;
    margin: 0;
}

.tc-gradient-text {
    background: linear-gradient(135deg, var(--tc-blue) 0%, #4040F2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--tc-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.tc-mega-link:hover h5,
.tc-mega-link.active h5 {
    color: var(--tc-blue);
}

.tc-mega-link.active .tc-mega-link-icon {
    background: var(--tc-blue);
    color: #fff;
}


.tc-mega-link-text p {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

.tc-mega-feature {
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    min-height: 250px;
}

.tc-mega-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.tc-mega-feature-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.tc-mega-feature h6 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.tc-mega-feature a {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* CTAs & Buttons */
.tc-nav-cta {
    background: var(--tc-blue);
    color: #fff !important;
    padding: 6px 6px 6px 20px;
    /* Pill padding with icon space */
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.tc-cta-icon-circle {
    width: 34px;
    height: 34px;
    background: #FF7F00;
    /* TYNCAD Orange */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.tc-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 74, 173, 0.2);
}

.tc-nav-cta:hover .tc-cta-icon-circle {
    transform: scale(1.1);
    background: #e67200;
}

.tc-btn-primary {
    background: var(--tc-blue);
    color: #fff !important;
    text-decoration: none !important;
    padding: 18px 36px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
}

.tc-btn-ghost {
    border: 1.5px solid currentColor;
    color: inherit;
    text-decoration: none !important;
    padding: 18px 36px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
}

.tc-btn-primary:hover {
    background: #003a8c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 3. HERO SLIDER */
.tc-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    background: #000;
}

/* Aggressive Breakout for Hero Slider */
body.home .tc-hero-slider {
    width: 100vw !important;
    position: relative;
    margin-top: -20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    z-index: 10 !important;
}

.tc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.tc-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.tc-slide-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 6% 40px;
    /* Ultra-tight hero padding */
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: center;
}

.tc-slide-container.centered {
    grid-template-columns: 1fr;
    text-align: center;
}

.tc-slide-container.reverse {
    grid-template-columns: 45% 55%;
}

.tc-hero-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.tc-slide.active .tc-hero-text {
    opacity: 1;
    transform: translateY(0);
}

.tc-hero-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: #fff;
}

.tc-hero-text h1,
.tc-hero-text h2 {
    font-size: 5.5rem;
    line-height: 0.95;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -2px;
}

.tc-hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 650px;
}

.centered .tc-hero-text p {
    margin-left: auto;
    margin-right: auto;
}

.tc-hero-btns {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.tc-hero-visual {
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease 0.6s;
}

.reverse .tc-hero-visual {
    transform: translateX(-50px);
}

.tc-slide.active .tc-hero-visual {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 900px) {
    .tc-slide-container {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 40px;
    }

    .tc-hero-slider {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }

    .tc-hero-text h1,
    .tc-hero-text h2 {
        font-size: 3rem;
    }

    .tc-hero-btns {
        justify-content: center;
    }
}

.tc-slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
    display: flex;
    gap: 12px;
}

.tc-slider-pill {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.tc-slider-pill.active {
    background: #fff;
    width: 60px;
}

.tc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    width: 60px;
    height: 60px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.tc-arrow:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.tc-arrow.prev {
    left: 40px;
}

.tc-arrow.next {
    right: 40px;
}

/* The arrows are buttons; these selectors outrank the theme's default button styling. */
.tc-hero-slider button.tc-arrow {
    box-sizing: border-box;
    width: 60px;
    height: 60px;
    min-width: 0;
    padding: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 1.1rem;
    line-height: 1;
}

.tc-hero-slider button.tc-arrow:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.tc-hero-slider button.tc-arrow:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Phones and small tablets: controls sit below the content, so they never cover text. */
@media (max-width: 900px) {
    .tc-hero-slider {
        display: grid;
    }

    /* Slides share one cell, so the hero grows to fit the tallest slide. */
    .tc-hero-slider .tc-slide {
        position: relative;
        grid-area: 1 / 1;
        min-width: 0;
    }

    /* The spacing belongs to the slide, so its background reaches every edge of the hero. */
    .tc-hero-slider {
        padding: 0;
    }

    .tc-hero-slider .tc-slide {
        padding: 40px 0 100px;
    }

    .tc-hero-slider .tc-slide-container {
        gap: 24px;
        padding-bottom: 0;
    }

    /* Keeps the artwork small enough for the controls to stay on the first screen. */
    .tc-hero-slider .tc-hero-visual img {
        width: auto !important;
        max-width: 100%;
        max-height: 32vh;
    }

    .tc-hero-slider .tc-hero-text p:empty,
    .tc-hero-slider .tc-hero-btns:not(:has(a)) {
        display: none;
    }

    .tc-hero-slider button.tc-arrow {
        top: auto;
        bottom: 28px;
        transform: none;
        width: 44px;
        height: 44px;
    }

    .tc-arrow.prev {
        left: 20px;
    }

    .tc-arrow.next {
        right: 20px;
    }

    .tc-slider-nav {
        bottom: 48px;
        gap: 8px;
    }

    .tc-slider-pill {
        width: 18px;
    }

    .tc-slider-pill.active {
        width: 36px;
    }
}

/* 4. UTILITIES & COMPONENTS */
.sentinel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: rgba(0, 74, 173, 0.1);
    color: var(--tc-blue);
    padding: 4px 12px;
    border-radius: 20px;
}

.sentinel-dot {
    width: 8px;
    height: 8px;
    background: var(--tc-blue);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--tc-blue);
}

hr.tc-divider {
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 80px auto;
    max-width: 200px;
}

/* Gradient Text Utility */
.tc-gradient-text {
    background: linear-gradient(135deg, #004AAD 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* 5. HOMEPAGE SECTIONS */

/* About Section */
.tc-about-section {
    padding: 80px 0;
    background: #fff;
}

.tc-about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 80px;
    align-items: center;
}

/* .tc-about-container { grid-template-columns: 1fr; gap: 60px; }
.tc-about-text h2 { font-size: 2.5rem; }
.tc-stats-card { padding: 40px; } */
.tc-stats-card {
    background: #004AAD;
    border-radius: 24px;
    padding: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: 100%;
}

.tc-stat-pill {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #fff;
    width: fit-content;
}

.tc-stat-item h3 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 8px;
    font-weight: 800;
}

.tc-stat-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tc-stat-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.tc-about-text .eyebrow {
    color: #004AAD;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    display: block;
}

.tc-about-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 32px;
    color: #111827;
}

.tc-about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .tc-about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .tc-about-text h2 {
        font-size: 2.5rem;
    }

    .tc-stats-card {
        padding: 40px;
    }
}

/* 6. OUR SERVICES SECTION */
.tc-services-section {
    padding: 80px 5%;
    background: #fff;
    text-align: center;
}

.tc-services-header {
    /* Inherits from .tc-section-header in HTML */
}

.tc-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tc-service-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 60px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
    border: 1px solid rgba(0, 74, 173, 0.1);
}

.tc-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 74, 173, 0.1);
    background: #fff;
}

.tc-service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: #111;
    max-width: 65%;
}

.tc-service-card p {
    font-size: 1.1rem;
    color: #4B5563;
    line-height: 1.6;
    margin: 0;
    max-width: 85%;
}

.tc-service-icon {
    position: absolute;
    top: 60px;
    right: 40px;
    width: 120px;
    height: 120px;
    z-index: 10;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.tc-service-card:hover .tc-service-icon {
    transform: translateY(-8px) scale(1.08);
}

/* Special styling for larger icons or specific positions */
.tc-service-card.wide-icon .tc-service-icon {
    padding: 15px;
}

/* Tag Cloud for Creative Solutions */
.tc-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tc-tag {
    background: #eef2f7;
    color: #444;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s;
}

.tc-service-card:hover .tc-tag {
    background: #f1f5f9;
    color: var(--tc-blue);
}

/* 7. OUR CORE VALUES SECTION */
.tc-values-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.tc-values-header {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 5%;
}

.tc-values-header h2 {
    font-size: 3.5rem;
    color: #112;
    margin-bottom: 20px;
}

.tc-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.tc-value-card {
    padding: 80px 50px;
    text-align: left;
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

.tc-value-card:nth-child(1) {
    background: #F1F6FF;
}

.tc-value-card:nth-child(2) {
    background: #F8FBFF;
}

.tc-value-card:nth-child(3) {
    background: #F1F6FF;
}

.tc-value-card:nth-child(4) {
    background: #F8FBFF;
}

.tc-value-card:hover {
    background: #fff !important;
    box-shadow: 0 20px 50px rgba(0, 74, 173, 0.08);
    border-bottom-color: var(--tc-blue);
    transform: translateY(-5px);
    z-index: 2;
}

.tc-value-number {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--tc-blue);
    margin-bottom: 40px;
    font-family: 'Syne', sans-serif;
    display: block;
}

.tc-value-title {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #112;
    letter-spacing: 1px;
}

.tc-value-title .highlight {
    color: var(--tc-blue);
}

.tc-value-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4B5563;
}

@media (max-width: 1200px) {
    .tc-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tc-values-grid {
        grid-template-columns: 1fr;
    }

    .tc-value-card {
        padding: 60px 40px;
    }
}

@media (max-width: 1100px) {
    .tc-services-grid {
        grid-template-columns: 1fr;
    }

    .tc-service-card {
        padding: 40px;
    }

    .tc-service-icon {
        width: 100px;
        height: 100px;
        top: 40px;
        right: 40px;
    }
}

@media (max-width: 768px) {
    .tc-services-header h2 {
        font-size: 2.5rem;
    }

    .tc-service-card h3 {
        font-size: 1.8rem;
    }
}

/* 8. ECOSYSTEM TABBED SECTION */
.tc-eco-tabs-section {
    padding: 80px 5%;
    background: #fdfdfd;
    max-width: none !important;
    margin: 0 auto;
    width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}

.tc-eco-tabs-section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}

.tc-eco-tabs-header {
    text-align: center;
    margin-bottom: 60px;
}

.tc-eco-tabs-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
}

.tc-eco-tabs-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.tc-eco-tabs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tc-eco-tab {
    background: #fff;
    padding: 18px 24px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 74, 173, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tc-eco-tab span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #4B5563;
    font-family: 'Outfit', sans-serif;
}

.tc-tab-icon {
    width: 36px;
    height: 36px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-blue);
    transition: all 0.3s;
}

.tc-tab-icon svg {
    width: 18px;
    height: 18px;
}

.tc-eco-tab:hover {
    transform: translateX(8px);
    background: #f9fbff;
}

.tc-eco-tab.active {
    background: var(--tc-blue);
    border-color: var(--tc-blue);
    transform: translateX(12px);
    box-shadow: 0 15px 30px rgba(0, 74, 173, 0.12);
}

.tc-eco-tab.active span {
    color: #fff;
}

.tc-eco-tab.active .tc-tab-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Content Area */
.tc-eco-content-area {
    background: #fff;
    border-radius: 20px;
    min-height: 500px;
    box-shadow: 0 30px 80px rgba(0, 74, 173, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.tc-eco-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, transform 0.4s;
    transform: translateY(15px);
}

.tc-eco-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.tc-panel-inner {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    height: 100%;
    min-height: 500px;
}

.tc-panel-img {
    background-size: cover;
    background-position: center;
    position: relative;
}

.tc-panel-img::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(to left, #fff, transparent);
}

.tc-panel-text {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tc-panel-text h3 {
    font-size: 2.2rem;
    color: #112;
    margin-bottom: 20px;
    font-weight: 800;
}

.tc-panel-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4B5563;
    margin-bottom: 30px;
}

.tc-panel-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.tc-panel-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 12px;
    font-weight: 500;
}

.tc-panel-features li svg {
    color: var(--tc-blue);
}

.tc-panel-btn {
    align-self: flex-start;
    background: var(--tc-blue);
    color: #fff;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0, 74, 173, 0.1);
}

.tc-panel-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 74, 173, 0.2);
}

@media (max-width: 1100px) {
    .tc-eco-tabs-container {
        grid-template-columns: 1fr;
    }

    .tc-eco-tabs-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 20px;
    }

    .tc-eco-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .tc-panel-inner {
        grid-template-columns: 1fr;
    }

    .tc-panel-img {
        height: 350px;
    }

    .tc-panel-img::after {
        background: linear-gradient(to top, #fff, transparent);
        width: 100%;
        height: 60px;
        top: auto;
    }
}

@media (max-width: 768px) {
    .tc-eco-tabs-header h2 {
        font-size: 2.5rem;
    }

    .tc-panel-text {
        padding: 40px 30px;
    }

    .tc-panel-text h3 {
        font-size: 2rem;
    }
}

/* Why Section */
.tc-why-section {
    padding: 80px 0;
    background: #fff;
}

.tc-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.tc-why-item {
    text-align: center;
}

.tc-why-icon {
    width: 80px;
    height: 80px;
    background: #f3f5ff;
    color: #004AAD;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    transition: all 0.3s;
}

.tc-why-item:hover .tc-why-icon {
    background: #004AAD;
    color: #fff;
    transform: rotate(5deg);
}

.tc-why-item h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #111;
}

.tc-why-item p {
    font-size: 1rem;
    color: #6B7280;
    line-height: 1.6;
}

/* Testimonials Section */
.tc-social-section {
    padding: 80px 0;
    background: transparent;
}

.tc-social-header {
    text-align: center;
    margin-bottom: 60px;
}

.tc-social-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #111;
}

.tc-testi-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.tc-testi-wrapper {
    overflow: hidden;
    padding: 60px 0;
    /* Add vertical breathing room */
}

.tc-testi-rail {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-testi-card {
    flex: 0 0 100%;
    /* Default mobile */
    padding: 0 20px;
    /* Internal card spacing */
    box-sizing: border-box;
}

.tc-testi-card-inner {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.tc-testi-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

@media (min-width: 900px) {
    .tc-testi-card {
        flex: 0 0 33.333%;
        /* 3 cards on desktop */
    }
}

.tc-testi-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.tc-testi-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s;
}

.tc-testi-dot.active {
    background: var(--tc-blue);
    transform: scale(1.3);
}

.tc-testi-footer {
    text-align: center;
    margin-top: 50px;
}

.tc-testi-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tc-blue);
    font-weight: 700;
    text-decoration: none !important;
    font-size: 1rem;
    transition: all 0.3s;
}

.tc-testi-more-btn:hover {
    gap: 12px;
    opacity: 0.8;
}

.tc-testi-stars {
    color: #FBBF24;
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.tc-testi-quote {
    font-size: 1.05rem;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic;
}

.tc-testi-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tc-testi-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eee;
    object-fit: cover;
}

.tc-testi-meta h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: #111;
    font-weight: 700;
}

.tc-testi-meta p {
    font-size: 0.8rem;
    color: #6B7280;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 900px) {
    .tc-testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Lead Capture Section */
.tc-lead-section {
    padding: 80px 0;
    background: #004AAD;
    color: #fff;
    overflow: hidden;
    width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.tc-lead-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

.tc-lead-container h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: #fff;
}

.tc-form-box {
    background: #fff;
    padding: 60px;
    border-radius: 30px;
    color: #111;
    text-align: left;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

/* Custom Form Styling */
.tc-custom-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tc-form-row {
    display: flex;
    gap: 24px;
}

.tc-form-row .tc-form-group {
    flex: 1;
}

.tc-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1A1A2E;
}

.tc-form-group input,
.tc-form-group select,
.tc-form-group textarea {
    padding: 16px 20px !important;
    border: 2px solid #F1F5F9 !important;
    border-radius: 14px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1rem !important;
    color: #0A1128 !important;
    background: #F8FAFC !important;
    transition: all 0.3s ease;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-appearance: auto !important;
    appearance: auto !important;
}

.tc-form-group input:focus,
.tc-form-group select:focus,
.tc-form-group textarea:focus {
    outline: none !important;
    border-color: var(--tc-blue) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.1) !important;
    color: #0A1128 !important;
}

.tc-form-group input::placeholder,
.tc-form-group textarea::placeholder {
    color: #94A3B8;
}

.tc-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {
    .tc-form-row {
        flex-direction: column;
        gap: 24px;
    }

    .tc-lead-container h2 {
        font-size: 2.5rem;
    }

    .tc-form-box {
        padding: 40px 20px;
    }
}

/* Blog Section */
/* =========================================================
   BLOG INSIGHTS SECTION — Premium Card Design
   ========================================================= */
.tc-blog-section {
    padding: 80px 0;
    background: #F8F9FC;
    width: 100vw !important;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.tc-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.tc-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}

/* --- Card Shell --- */
.tc-blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: visible;
    /* allow icon badge to overflow */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.tc-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 74, 173, 0.12);
}

.tc-blog-card-inner {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
    overflow: visible;
    /* MUST be visible so badge isn't clipped */
    position: relative;
    /* Badge anchors to this */
}

/* Clip the image box independently — keeps zoom effect intact */
.tc-blog-card-inner>.tc-blog-img-box {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

/* Give the card-inner a white rounded bottom so content is clean */
.tc-blog-card-inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(100% - 230px);
    /* below the image */
    background: #fff;
    border-radius: 0 0 20px 20px;
    z-index: 0;
    pointer-events: none;
}

/* --- Image Box --- */
.tc-blog-img-box {
    width: 100%;
    height: 230px;
    position: relative;
    overflow: hidden;
    /* clips zoom — badge is NOT inside here */
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.tc-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tc-blog-card:hover .tc-blog-img {
    transform: scale(1.06);
}

/* subtle dark overlay at bottom of image for contrast */
.tc-blog-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 10, 40, 0.45) 100%);
    pointer-events: none;
}

/* --- Category Label --- */
.tc-blog-label {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
}

/* --- Circular Icon Badge ---
   Lives BETWEEN img-box and content inside .tc-blog-card-inner.
   Positioned absolute relative to card-inner, centered on the
   image/content boundary (image is 230px tall, badge is 52px:
   top = 230px - 26px = 204px to center on the boundary).
   ------------------------------------------------------------ */
.tc-blog-icon-badge {
    position: absolute;
    top: 204px;
    /* 230px image - half badge height (26px) */
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--tc-accent);
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 20;
    /* above both img-box and content */
    box-shadow: 0 6px 20px rgba(255, 127, 0, 0.35);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tc-blog-card:hover .tc-blog-icon-badge {
    background: var(--tc-blue);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 8px 28px rgba(0, 74, 173, 0.35);
}

.tc-blog-icon-badge svg,
.tc-blog-icon-badge img {
    display: block;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* --- Content Area ---
   padding-top: 36px leaves enough room above content for the badge
   which sits at 204px (centered on boundary) and is 52px tall.
   The content starts after 230px + some breathing room. */
.tc-blog-content {
    padding: 36px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    position: relative;
    z-index: 1;
    /* above the ::after white backing */
    background: #fff;
    border-radius: 0 0 20px 20px;
}

.tc-blog-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0A1128;
    line-height: 1.4;
    margin: 0;
    transition: color 0.25s;
}

.tc-blog-card:hover h4 {
    color: var(--tc-blue);
}

.tc-blog-content p {
    font-size: 0.88rem;
    color: #6B7280;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* --- Learn More CTA --- */
.tc-blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 9px 20px;
    border-radius: 50px;
    background: var(--tc-blue);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    transition: background 0.25s ease, transform 0.25s ease;
}

.tc-blog-card:hover .tc-blog-cta {
    background: #003490;
    transform: translateX(3px);
}

.tc-blog-cta-arrow {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.tc-blog-card:hover .tc-blog-cta-arrow {
    transform: translateX(4px);
}

.tc-blog-learn-more {
    display: inline-block;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .tc-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .tc-blog-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        /* extra gap for icon badge overhang */
    }

    .tc-blog-section {
        padding: 80px 0 100px;
    }
}


/* 6. SERVICE SPECIFIC PAGES */

/* Sentinel IDP */
.sentinel-idp-wrapper {
    font-family: 'Montserrat', sans-serif;
    color: var(--sentinel-text);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

.sentinel-hero {
    background: radial-gradient(circle at top left, #FFFFFF 0%, #F0F4FA 100%);
    padding: 100px 5% 120px;
    display: flex;
    justify-content: center;
}

.sentinel-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sentinel-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    transform: translateY(-80px);
    position: relative;
    z-index: 10;
}

.sentinel-stat-card {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--sentinel-radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.sentinel-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 120px;
}

.sentinel-cta-box {
    background: var(--sentinel-primary);
    border-radius: var(--sentinel-radius-lg);
    padding: 80px 40px;
    text-align: center;
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    background-image: radial-gradient(circle at top right, #3F51B5 0%, var(--sentinel-primary) 100%);
}

@media (max-width: 992px) {

    .sentinel-grid-2,
    .sentinel-feature-row {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sentinel-stats-grid {
        grid-template-columns: 1fr;
        transform: translateY(0);
    }
}

/* Creative Services Dynamic Grid */
.dyn-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.dyn-service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 260px;
    text-decoration: none;
    display: block;
    cursor: pointer;
    background: #000;
    isolation: isolate;
}

.dyn-sc-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s;
    opacity: 0.9;
    z-index: -2;
}

.dyn-service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    z-index: -1;
    transition: height 0.4s;
}

.dyn-service-card:hover .dyn-sc-img {
    transform: scale(1.05);
    opacity: 1;
}

.dyn-service-card:hover::after {
    height: 90%;
}

.dyn-sc-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 2;
    right: 25px;
}

.dyn-sc-icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.dyn-sc-title {
    margin: 0;
    color: #fff;
    font-family: "Syne", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

@media(max-width: 1024px) {
    .dyn-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media(max-width: 768px) {
    .dyn-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Academy Pages */
.tc-academy-hero {
    padding: 100px 5%;
    background: #0A1128;
    color: #fff;
    text-align: center;
}

.tc-academy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: -50px auto 100px;
    padding: 0 20px;
}

.tc-course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: #333;
    transition: transform 0.3s;
}

.tc-course-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.tc-course-body {
    padding: 40px;
}

.tc-course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.tc-waitlist-section {
    background: #F8F9FC;
    padding: 100px 5%;
    text-align: center;
}

/* 7. FOOTER */
.tc-footer {
    background: var(--tc-dark);
    color: #fff;
    padding: 100px 5% 40px;
}

.tc-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 120px;
}

.tc-footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    display: block;
    text-decoration: none;
}

.tc-footer h4 {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.tc-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tc-footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.tc-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 80px;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Specific Component Fixes */
.tc-footer-socials {
    display: flex;
    gap: 15px;
}

.tc-footer-socials a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.tc-footer-socials a:hover {
    color: #fff;
    background: var(--tc-accent);
    transform: translateY(-3px);
}

.tc-wa-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tc-accent);
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
    transition: all 0.3s;
}

.tc-wa-cta:hover {
    color: #fff;
}

.tc-newsletter-form {
    display: flex;
    gap: 10px;
}

.tc-newsletter-form input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    color: #fff;
    font-size: 0.9rem;
}

.tc-newsletter-form button {
    background: transparent;
    color: var(--tc-accent);
    border: 1.5px solid var(--tc-accent);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.tc-newsletter-form button:hover {
    background: var(--tc-accent);
    color: #fff;
}

/* Newsletter result message, shown under whichever form was used. */
.tc-form-status {
    margin: 12px 0 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #16A34A;
}

.tc-form-status.is-error {
    color: #DC2626;
}

.tc-footer-grid .tc-form-status {
    color: #86EFAC;
}

.tc-footer-grid .tc-form-status.is-error {
    color: #FCA5A5;
}

form[data-tyncad-newsletter] [type="submit"]:disabled {
    opacity: 0.6;
    cursor: wait;
}

.tc-footer-bottom-links {
    display: flex;
    gap: 20px;
}

.tc-footer-bottom-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.tc-footer-bottom-links a:hover {
    color: var(--tc-accent);
}

@media (max-width: 1200px) {
    .tc-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tc-footer-grid {
        grid-template-columns: 1fr;
    }

    .tc-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .tc-footer-bottom-links {
        justify-content: center;
    }
}

/* 8. ANIMATIONS */
@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.sentinel-pulse {
    animation: pulse 2s infinite;
}

.sentinel-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sentinel-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

/* 7. OUR WORKS SECTION */
.tc-works-section {
    padding: 80px 0;
    background: #ffffff;
    /* Keeping clean white as per mockup */
    overflow: hidden;
}

.tc-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.tc-works-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tc-works-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
    letter-spacing: -2px;
}

.tc-works-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 50px;
    padding-bottom: 10px;
}

.tc-works-nav-row {
    display: flex;
    align-items: center;
    gap: 32px;
}

.tc-filter-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.tc-filter-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #111;
    white-space: nowrap;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.tc-filter-pills {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 0;
    flex: 1;
}

.tc-filter-pills::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.tc-filter-pill {
    padding: 10px 24px;
    border-radius: 100px;
    border: none;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: 'Outfit', 'Inter', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-filter-pill:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.tc-filter-pill.active {
    background: var(--tc-blue);
    color: #fff;
    box-shadow: none;
    /* Removed shadows as per mockup */
}

.tc-filter-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tc-see-more {
    color: var(--tc-blue);
    font-weight: 700;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-bottom: 1.5px solid transparent;
    font-family: 'Outfit', 'Inter', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.tc-see-more:hover {
    border-bottom-color: var(--tc-blue);
    opacity: 0.8;
}

.tc-works-nav {
    display: flex;
    gap: 12px;
}

.tc-works-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--tc-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tc-works-arrow:hover {
    transform: scale(1.05);
    background: var(--tc-blue);
}

.tc-works-rail-wrapper {
    width: 100%;
    overflow: visible;
}

.tc-works-rail {
    display: flex;
    gap: 30px;
    padding: 20px 0 80px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tc-works-rail::-webkit-scrollbar {
    display: none;
}

/* Portfolio Card & STRETCH Effect */
.tc-portfolio-card {
    flex: 0 0 320px;
    height: 340px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.tc-portfolio-card:hover {
    flex: 0 0 520px;
    /* Preserve stretch animation */
    box-shadow: 0 20px 45px rgba(0, 74, 173, 0.12);
}

.tc-portfolio-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tc-portfolio-card:hover .tc-portfolio-img {
    transform: scale(1.03);
}

.tc-portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.tc-portfolio-card:hover .tc-portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.tc-portfolio-info {
    width: 100%;
}

.tc-portfolio-info h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.tc-portfolio-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Outfit', 'Inter', sans-serif;
}

/* Case Study Specific Global Extensions */
.tc-cs-featured-wrap {
    width: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
}

.tc-cs-featured-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 85vh;
    object-fit: cover;
}

.tc-cs-header {
    background: #fff;
    z-index: 5;
    position: relative;
    padding: 60px 5% 40px;
}

.tc-case-grid .tc-portfolio-card {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tc-case-grid .tc-portfolio-card:hover {
    transform: translateY(-10px);
}

/* 10. OUR PROCESS SECTION - UNIFIED BACKGROUND */
.tc-process-section {
    padding: 80px 0;
    background: rgba(0, 74, 173, 0.04);
    /* Unified light Cobalt Blue tint */
    position: relative;
    overflow: hidden;
    width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

@media (max-width: 1100px) {
    .tc-process-section {
        background: rgba(0, 74, 173, 0.04);
    }
}

.tc-process-split {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    /* Add back horizontal padding for content */
}

.tc-process-visual {
    flex: 1;
    position: relative;
}

.tc-process-visual img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    /* Removed box-shadow for a cleaner, floating look as per 3D illustration style */
}

.tc-process-info {
    flex: 1;
}

.tc-process-sub-header {
    margin-bottom: 50px;
}

.tc-process-sub-header h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
}

.tc-process-sub-header p {
    font-size: 1.1rem;
    color: #6B7280;
    line-height: 1.6;
}

.tc-process-v-list {
    position: relative;
    padding-left: 0;
}

/* Connecting Dotted Line */
.tc-process-v-list::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    border-left: 2px dotted #e2e8f0;
}

.tc-process-v-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.tc-v-num {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid var(--tc-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-blue);
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 74, 173, 0.1);
}

.tc-v-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.tc-v-content p {
    font-size: 0.95rem;
    color: #6B7280;
    line-height: 1.5;
}

.tc-process-btns {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

@media (max-width: 1100px) {
    .tc-process-split {
        flex-direction: column;
        gap: 60px;
    }

    .tc-process-visual {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .tc-process-sub-header h3 {
        font-size: 2.2rem;
    }

    .tc-process-btns {
        flex-direction: column;
    }
}

/* Clean Gallery Grid Styles */
.tc-project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 50px 0;
}

.tc-gallery-thumb {
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tc-gallery-thumb img,
.tc-gallery-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tc-gallery-thumb:hover img,
.tc-gallery-thumb:hover video {
    transform: scale(1.1);
}

/* Lightbox Modal */
.tc-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 17, 40, 0.98);
    display: none;
    align-items: center;
    justify-content: center;
    /* Above navbar (which is typically 9999) */
    z-index: 999999;
    /* Generous top padding so content clears any navbar remnants */
    padding: 80px 60px 60px;
    box-sizing: border-box;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.tc-lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.tc-lightbox-content {
    max-width: 1200px;
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tc-lightbox-content img,
.tc-lightbox-content video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    display: block;
}

/* Close button — always visible at fixed top-right of viewport */
.tc-lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 1000000;
    transition: color 0.2s, transform 0.2s;
    font-family: sans-serif;
}
.tc-lightbox-close:hover {
    color: #FF7F00;
    transform: scale(1.1);
}

/* Compact Inquiry Section */
.tc-inquiry-section {
    padding: 80px 5%;
    margin: 40px 5%;
    border-radius: 40px;
    background: var(--tc-dark);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.tc-inquiry-section p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.tc-inquiry-section h2 {
    font-size: 2.8rem !important;
    letter-spacing: -1.5px !important;
    margin-bottom: 10px !important;
    color: #fff !important;
}

.tc-inquiry-container {
    max-width: 800px;
    margin: 0 auto;
}

.tc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 25px;
}

.tc-form-group input,
.tc-form-group select,
.tc-form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tc-form-group input:focus,
.tc-form-group select:focus,
.tc-form-group textarea:focus {
    outline: none;
    border-color: var(--tc-accent);
    background: rgba(255, 255, 255, 0.08);
}

.tc-submit-btn {
    grid-column: span 2;
    background: transparent !important;
    color: var(--tc-accent) !important;
    border: 2px solid var(--tc-accent) !important;
    border-radius: 40px;
    padding: 18px 32px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 15px;
}

.tc-submit-btn:hover {
    background: var(--tc-accent) !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 127, 0, 0.4);
}

.tc-form-group.full {
    grid-column: span 2;
}

@media (max-width: 600px) {
    .tc-form-grid {
        grid-template-columns: 1fr;
    }

    .tc-form-group.full,
    .tc-submit-btn {
        grid-column: span 1;
    }
}

/* Related Projects Final Polish */
.tc-related-section {
    padding: 100px 0;
    background: #f8fafc;
}

.tc-related-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.tc-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .tc-project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tc-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .tc-project-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .tc-works-header h2 {
        font-size: 2.8rem;
    }

    .tc-portfolio-card {
        flex: 0 0 280px;
        height: 360px;
    }

    .tc-portfolio-card:hover {
        flex: 0 0 320px;
    }

    .tc-filter-left {
        gap: 12px;
        min-width: 0;
    }

    .tc-filter-pill {
        padding: 8px 18px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .tc-works-filter-bar {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .tc-works-header h2 {
        font-size: 2.2rem;
    }

    .tc-works-filter-bar {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .tc-filter-left {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 15px;
        flex: none;
        /* Reset flex-1 on mobile to allow full width */
    }

    .tc-filter-pills {
        flex: 1;
        min-width: 0;
    }

    .tc-works-nav-row {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .tc-works-nav {
        margin-left: 0;
    }
}

/* Floating Scroll to Top */
.tc-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--tc-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 127, 0, 0.3);
    z-index: 100001;
    /* Above the header and all content */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tc-scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 127, 0, 0.5);
    background: #e67300;
}

.tc-scroll-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.tc-scroll-top:hover svg {
    transform: translateY(-2px);
}

/* =============================================================
   ABOUT PAGE — page-about.php
   ============================================================= */

/* ---- Hero ---- */
.tc-about-page {
    overflow-x: hidden;
}

.tc-about-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #004AAD 0%, #0A1128 60%, #001855 100%);
    overflow: hidden;
    padding: 160px 5% 100px;
}

.tc-about-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.tc-hero-geo {
    position: absolute;
    border-radius: 50%;
}

.tc-hero-geo.geo-1 {
    width: 700px;
    height: 700px;
    top: -250px;
    right: -150px;
    background: radial-gradient(circle, rgba(255, 127, 0, 0.10) 0%, transparent 65%);
    border: 1px solid rgba(255, 127, 0, 0.08);
}

.tc-hero-geo.geo-2 {
    width: 500px;
    height: 500px;
    bottom: -180px;
    left: -120px;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.35) 0%, transparent 65%);
    border: 1px solid rgba(0, 74, 173, 0.12);
}

.tc-hero-geo.geo-3 {
    width: 220px;
    height: 220px;
    top: 35%;
    right: 22%;
    background: radial-gradient(circle, rgba(255, 127, 0, 0.14) 0%, transparent 70%);
    animation: tc-geo-pulse 6s ease-in-out infinite;
}

@keyframes tc-geo-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

.tc-about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.tc-about-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.tc-about-hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 5.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.0;
    letter-spacing: -3px;
    margin: 0 0 28px;
}

.tc-about-accent-text {
    color: var(--tc-accent);
}

.tc-about-hero-content > p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 44px;
}

.tc-btn-ghost-light {
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.tc-btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.tc-about-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    z-index: 3;
    animation: tc-scroll-bounce 2.2s ease-in-out infinite;
}

@keyframes tc-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Stats Bar ---- */
.tc-about-stats {
    background: #fff;
    border-bottom: 1px solid rgba(0, 74, 173, 0.07);
    box-shadow: 0 4px 24px rgba(0, 74, 173, 0.05);
    position: relative;
    z-index: 5;
}

.tc-about-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}

.tc-astat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 38px 28px;
    flex: 1;
    min-width: 110px;
}

.tc-astat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--tc-blue);
    line-height: 1;
    letter-spacing: -2px;
}

.tc-astat-num sup {
    font-size: 1.2rem;
    vertical-align: super;
    color: var(--tc-accent);
}

.tc-astat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 7px;
    white-space: nowrap;
}

.tc-astat-divider {
    width: 1px;
    background: rgba(0, 74, 173, 0.09);
    align-self: stretch;
    margin: 16px 0;
    flex-shrink: 0;
}

/* ---- Who We Are / Intro ---- */
.tc-about-intro {
    padding: 110px 5%;
    background: #fff;
}

.tc-about-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 55% 42%;
    gap: 80px;
    align-items: center;
}

.tc-about-intro-text .eyebrow {
    margin-bottom: 22px;
}

.tc-about-intro-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -2px;
    color: #111;
    margin-bottom: 26px;
}

.tc-about-intro-text p {
    font-size: 1.02rem;
    line-height: 1.78;
    color: #4B5563;
    margin-bottom: 14px;
}

/* Orbital visual card */
.tc-about-intro-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-about-visual-card {
    background: linear-gradient(145deg, #f0f5ff 0%, #e8efff 100%);
    border: 1px solid rgba(0, 74, 173, 0.09);
    border-radius: 28px;
    padding: 56px 36px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    width: 100%;
}

.tc-visual-orbit-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-visual-orbit {
    position: relative;
    width: 210px;
    height: 210px;
    flex-shrink: 0;
}

.tc-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 74, 173, 0.18);
}

.tc-orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: var(--tc-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 0 14px rgba(0, 74, 173, 0.09), 0 0 0 28px rgba(0, 74, 173, 0.04);
    z-index: 2;
}

.tc-orbit-dot {
    position: absolute;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-blue);
    box-shadow: 0 4px 16px rgba(0, 74, 173, 0.14);
    z-index: 3;
}

.tc-orbit-dot.dot-1 {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    animation: tc-float-v 3.5s ease-in-out infinite;
}

.tc-orbit-dot.dot-2 {
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    animation: tc-float-v 3.5s ease-in-out infinite 0.9s;
}

.tc-orbit-dot.dot-3 {
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    animation: tc-float-v 3.5s ease-in-out infinite 1.8s;
}

.tc-orbit-dot.dot-4 {
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    animation: tc-float-v 3.5s ease-in-out infinite 2.7s;
}

@keyframes tc-float-v {
    0%, 100% { box-shadow: 0 4px 16px rgba(0, 74, 173, 0.14); }
    50% { box-shadow: 0 8px 24px rgba(0, 74, 173, 0.28); }
}

.tc-about-visual-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tc-visual-tag {
    background: var(--tc-blue);
    color: #fff;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.tc-visual-caption {
    font-size: 0.88rem;
    color: #6B7280;
    text-align: center;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

/* ---- Mission & Vision ---- */
.tc-about-mv {
    background: #F4F7FD;
    padding: 80px 5%;
}

.tc-about-mv-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.tc-mv-card {
    padding: 56px 50px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.tc-mv-card::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -70px;
    right: -70px;
    pointer-events: none;
}

.tc-mv-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    bottom: 20px;
    left: 20px;
    pointer-events: none;
}

.tc-mv-card.mission {
    background: var(--tc-blue);
}

.tc-mv-card.vision {
    background: #0A1128;
}

.tc-mv-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: #fff;
    position: relative;
    z-index: 2;
}

.tc-mv-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--tc-accent);
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.tc-mv-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* ---- Business Units ---- */
.tc-about-units {
    padding: 110px 5%;
    background: #fff;
}

.tc-about-section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tc-about-units-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 16px;
}

.tc-unit-card {
    border: 1px solid rgba(0, 74, 173, 0.09);
    border-radius: 24px;
    padding: 46px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

.tc-unit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tc-blue), var(--tc-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 3px 3px 0 0;
}

.tc-unit-card:hover::before {
    transform: scaleX(1);
}

.tc-unit-card:hover {
    box-shadow: 0 24px 64px rgba(0, 74, 173, 0.13);
    transform: translateY(-7px);
    border-color: rgba(0, 74, 173, 0.18);
}

.tc-unit-card.featured {
    background: linear-gradient(160deg, var(--tc-blue) 0%, #002d8a 100%);
    border-color: transparent;
}

.tc-unit-card.featured::before {
    background: var(--tc-accent);
}

.tc-unit-card.featured:hover {
    box-shadow: 0 24px 64px rgba(0, 74, 173, 0.4);
}

.tc-unit-num {
    display: block;
    font-family: 'Syne', 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    color: rgba(0, 74, 173, 0.35);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.tc-unit-card.featured .tc-unit-num {
    color: rgba(255, 255, 255, 0.4);
}

.tc-unit-icon-wrap {
    width: 58px;
    height: 58px;
    background: rgba(0, 74, 173, 0.07);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-blue);
    margin-bottom: 22px;
    transition: all 0.3s;
}

.tc-unit-card:hover .tc-unit-icon-wrap {
    background: var(--tc-blue);
    color: #fff;
    transform: scale(1.05);
}

.tc-unit-card.featured .tc-unit-icon-wrap {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
}

.tc-unit-card.featured:hover .tc-unit-icon-wrap {
    background: rgba(255, 255, 255, 0.22);
}

.tc-unit-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

.tc-unit-card.featured h3 { color: #fff; }

.tc-unit-card > p {
    font-size: 0.93rem;
    line-height: 1.72;
    color: #4B5563;
    margin-bottom: 22px;
}

.tc-unit-card.featured > p {
    color: rgba(255, 255, 255, 0.78);
}

.tc-unit-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.tc-unit-features li {
    font-size: 0.87rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tc-unit-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tc-accent);
    flex-shrink: 0;
}

.tc-unit-card.featured .tc-unit-features li {
    color: rgba(255, 255, 255, 0.82);
}

.tc-unit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--tc-blue);
    text-decoration: none !important;
    transition: gap 0.25s;
}

.tc-unit-link:hover {
    gap: 13px;
}

.tc-unit-card.featured .tc-unit-link {
    color: rgba(255, 255, 255, 0.88);
}

/* ---- Our Approach ---- */
.tc-about-approach {
    padding: 110px 5%;
    background: #F4F7FD;
}

.tc-approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 12px;
}

.tc-approach-card {
    background: #fff;
    border-radius: 20px;
    padding: 38px 28px;
    border: 1px solid rgba(0, 74, 173, 0.07);
    transition: all 0.3s ease;
}

.tc-approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(0, 74, 173, 0.11);
    border-color: rgba(0, 74, 173, 0.18);
}

.tc-approach-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 74, 173, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-blue);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.tc-approach-card:hover .tc-approach-icon {
    background: var(--tc-blue);
    color: #fff;
}

.tc-approach-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

.tc-approach-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #6B7280;
    margin: 0;
}

.tc-approach-tagline {
    font-size: 1.05rem;
    color: #4B5563;
    text-align: center;
    margin-top: 44px;
    line-height: 1.6;
}

.tc-approach-tagline strong {
    color: var(--tc-blue);
    font-weight: 700;
}

/* ---- Core Values (dark) ---- */
.tc-about-values {
    padding: 110px 5%;
    background: #0A1128;
    position: relative;
    overflow: hidden;
}

.tc-about-values::before {
    content: '';
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 74, 173, 0.22) 0%, transparent 65%);
    top: -350px;
    right: -350px;
    pointer-events: none;
}

.tc-about-values::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 127, 0, 0.09) 0%, transparent 65%);
    bottom: -150px;
    left: 5%;
    pointer-events: none;
}

.tc-about-values .tc-about-section-container {
    position: relative;
    z-index: 2;
}

.tc-values-header {
    text-align: center !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.tc-eyebrow-light {
    color: rgba(255, 255, 255, 0.55) !important;
}

.tc-title-white {
    color: #fff !important;
}

.tc-orange-text {
    color: var(--tc-accent) !important;
    -webkit-text-fill-color: var(--tc-accent) !important;
    background: none !important;
}

.tc-desc-light {
    color: rgba(255, 255, 255, 0.6) !important;
}

.tc-about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 64px;
}

.tc-avalue-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 38px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tc-avalue-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.tc-avalue-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 74, 173, 0.3);
    transform: translateY(-5px);
}

.tc-avalue-num {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--tc-accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.tc-avalue-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

/* In the narrowest four-column layout, "RELATIONSHIP" needs slightly smaller type to stay inside its card. */
@media (min-width: 1101px) and (max-width: 1199px) {
    .tc-avalue-card h3 {
        font-size: 1.5rem;
    }
}

.tc-avalue-highlight {
    color: var(--tc-accent);
}

.tc-avalue-card p {
    font-size: 0.88rem;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.52);
    margin: 0;
}

/* ---- Why TYNCAD ---- */
.tc-about-why {
    padding: 110px 5%;
    background: #fff;
}

.tc-about-why-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 46% 54%;
    gap: 80px;
    align-items: center;
}

.tc-about-why-text .eyebrow {
    margin-bottom: 20px;
}

.tc-about-why-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -2px;
    color: #111;
    margin-bottom: 22px;
}

.tc-about-why-text > p {
    font-size: 1.02rem;
    line-height: 1.78;
    color: #4B5563;
}

.tc-about-why-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.tc-why-pillar {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px 22px;
    border-radius: 16px;
    border: 1px solid rgba(0, 74, 173, 0.08);
    background: #F8FAFF;
    transition: all 0.3s ease;
}

.tc-why-pillar:hover {
    border-color: rgba(0, 74, 173, 0.2);
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 74, 173, 0.09);
    transform: translateY(-3px);
}

.tc-why-pillar-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 74, 173, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-blue);
    flex-shrink: 0;
    transition: all 0.3s;
}

.tc-why-pillar:hover .tc-why-pillar-icon {
    background: var(--tc-blue);
    color: #fff;
}

.tc-why-pillar h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 5px;
}

.tc-why-pillar p {
    font-size: 0.86rem;
    color: #6B7280;
    line-height: 1.58;
    margin: 0;
}

/* ---- Final CTA ---- */
.tc-about-cta-section {
    position: relative;
    padding: 130px 5%;
    background: linear-gradient(135deg, var(--tc-blue) 0%, #002d8a 40%, #0A1128 100%);
    text-align: center;
    overflow: hidden;
}

.tc-about-cta-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

.tc-about-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.tc-about-cta-inner h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -2.5px;
    line-height: 1.15;
    margin-top: 18px;
    margin-bottom: 22px;
}

.tc-about-cta-inner > p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 0;
}

.tc-about-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 44px;
}

.tc-about-cta-btn-primary {
    background: var(--tc-accent);
    color: #fff !important;
    text-decoration: none !important;
    padding: 6px 6px 6px 26px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.tc-about-cta-btn-primary:hover {
    background: #e67200;
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(255, 127, 0, 0.45);
}

/* ---- About Page: canvas template — kill any residual theme chrome ---- */
/* tc-page-about is added via body_class() in page-about.php             */
body.tc-page-about .entry-header,
body.tc-page-about .entry-title,
body.tc-page-about .site-header,
body.tc-page-about .ast-breadcrumbs-wrapper,
body.tc-page-about .hello-elementor-header,
body.tc-page-about .site-footer,
body.tc-page-about .ast-small-footer {
    display: none !important;
}

body.tc-page-about #page,
body.tc-page-about #content,
body.tc-page-about .site-content,
body.tc-page-about #primary,
body.tc-page-about #main,
body.tc-page-about article,
body.tc-page-about .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

/* ---- Responsive: About Page ---- */
@media (max-width: 1100px) {
    .tc-about-hero-content h1 { font-size: 4rem; letter-spacing: -2.5px; }
    .tc-approach-grid { grid-template-columns: 1fr 1fr; }
    .tc-about-values-grid { grid-template-columns: 1fr 1fr; }
    .tc-about-intro-container { grid-template-columns: 1fr; gap: 48px; }
    .tc-about-intro-visual { max-width: 420px; margin: 0 auto; width: 100%; }
    .tc-about-why-inner { grid-template-columns: 1fr; gap: 56px; }
    .tc-about-units-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .tc-about-hero { padding: 130px 5% 70px; min-height: 70vh; }
    .tc-about-hero-content h1 { font-size: 2.9rem; letter-spacing: -2px; }
    .tc-about-hero-content > p { font-size: 1rem; }

    .tc-about-stats-inner { flex-wrap: wrap; justify-content: center; }
    .tc-astat-item { padding: 22px 18px; min-width: 100px; }
    .tc-astat-divider { display: none; }

    .tc-about-intro-text h2 { font-size: 2.3rem; }
    .tc-about-mv-container { grid-template-columns: 1fr; }
    .tc-mv-card { padding: 40px 32px; }

    .tc-about-units-grid { grid-template-columns: 1fr; }
    .tc-approach-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .tc-about-values-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .tc-about-why-pillars { grid-template-columns: 1fr; }
    .tc-about-why-text h2 { font-size: 2.3rem; }
    .tc-about-cta-inner h2 { font-size: 2.6rem; letter-spacing: -1.5px; }
    .tc-values-header { text-align: center !important; margin: 0 auto !important; }
}

@media (max-width: 520px) {
    .tc-about-hero-content h1 { font-size: 2.4rem; letter-spacing: -1.5px; }
    .tc-approach-grid { grid-template-columns: 1fr; }
    .tc-about-values-grid { grid-template-columns: 1fr; }
    .tc-about-cta-inner h2 { font-size: 2.2rem; }
    .tc-hero-btns { flex-direction: column; gap: 12px; }
    .tc-hero-btns a { text-align: center; justify-content: center; }
}
/* =============================================================
   GLOBAL ANIMATION SYSTEM
   Scroll-triggered: add class .tc-reveal / .tc-reveal-left /
   .tc-reveal-right / .tc-reveal-scale — JS adds .tc-in
   Hero text: use .tc-anim-up with .d1–.d5 delay classes
   ============================================================= */

/* Scroll-triggered reveal */
.tc-reveal,
.tc-reveal-left,
.tc-reveal-right,
.tc-reveal-scale {
    will-change: opacity, transform;
    transition: opacity 0.72s cubic-bezier(0.16,1,0.3,1),
                transform 0.72s cubic-bezier(0.16,1,0.3,1);
}
.tc-reveal        { opacity: 0; transform: translateY(28px); }
.tc-reveal-left   { opacity: 0; transform: translateX(-32px); }
.tc-reveal-right  { opacity: 0; transform: translateX(32px); }
.tc-reveal-scale  { opacity: 0; transform: scale(0.93); }

.tc-reveal.tc-in,
.tc-reveal-left.tc-in,
.tc-reveal-right.tc-in,
.tc-reveal-scale.tc-in { opacity: 1; transform: none; }

/* Stagger delay helpers - expanded */
.tc-d1 { transition-delay: 0.08s; }
.tc-d2 { transition-delay: 0.16s; }
.tc-d3 { transition-delay: 0.24s; }
.tc-d4 { transition-delay: 0.32s; }
.tc-d5 { transition-delay: 0.40s; }
.tc-d6 { transition-delay: 0.48s; }
.tc-d7 { transition-delay: 0.56s; }
.tc-d8 { transition-delay: 0.64s; }

/* New Utility: Cobalt Hero Background */
.bg-cobalt-gradient {
    background: var(--cobalt-gradient) !important;
}

.tc-full-width-hero {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* Floating Animations */
@keyframes tcFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-15px) rotate(1deg); }
}

.tc-animate-float {
    animation: tcFloat 6s ease-in-out infinite;
}

.tc-anim-up { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1); 
    will-change: opacity, transform;
}
.tc-anim-up.tc-in { opacity: 1; transform: translateY(0); }
.tc-anim-up.d1 { transition-delay: 0.1s; }
.tc-anim-up.d2 { transition-delay: 0.2s; }
.tc-anim-up.d3 { transition-delay: 0.3s; }
.tc-anim-up.d4 { transition-delay: 0.4s; }
.tc-anim-up.d5 { transition-delay: 0.5s; }
.tc-anim-up.d6 { transition-delay: 0.6s; }
.tc-anim-up.d7 { transition-delay: 0.7s; }
.tc-anim-up.d8 { transition-delay: 0.8s; }

/* Shimmer / loading pulse */
@keyframes tcShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* =============================================================
   SHARED ECOSYSTEM PAGE COMPONENTS  (.tc-pg-*)
   ============================================================= */

/* ---- Hero: Dark ---- */
.tc-pg-hero-dark {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: var(--tc-deep);
    overflow: hidden;
    padding: 160px 5% 100px;
}
.tc-pg-hero-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 1;
}
.tc-pg-hero-dark::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,74,173,0.5) 30%,
        rgba(0,74,173,0.5) 70%, transparent 100%);
    z-index: 2;
}

/* ---- Hero: Light ---- */
.tc-pg-hero-light {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background: #fff;
    overflow: hidden;
    padding: 160px 5% 100px;
    border-bottom: 1px solid rgba(0,74,173,0.07);
}
.tc-pg-hero-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,74,173,0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
    z-index: 1;
}

/* ---- Hero split layout ---- */
.tc-pg-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Centered layout */
.tc-pg-hero-center {
    position: relative;
    z-index: 3;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.tc-pg-hero-left {
    position: relative;
    z-index: 3;
    max-width: 660px;
}

/* ---- Hero Badge ---- */
.tc-pg-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.72);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 30px;
    transition: background 0.3s;
}
.tc-pg-hero-light .tc-pg-badge {
    background: rgba(0,74,173,0.06);
    border-color: rgba(0,74,173,0.15);
    color: var(--tc-blue);
}

/* ---- Hero Typography ---- */
.tc-pg-hero-dark h1,
.tc-pg-hero-dark .tc-pg-h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.4rem, 7vw, 5.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.0;
    letter-spacing: -3px;
    margin: 0 0 24px;
}
.tc-pg-hero-light h1,
.tc-pg-hero-light .tc-pg-h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.4rem, 7vw, 5.2rem);
    font-weight: 800;
    color: #060C1D;
    line-height: 1.0;
    letter-spacing: -3px;
    margin: 0 0 24px;
}
.tc-pg-hero-sub {
    font-size: 1.12rem;
    line-height: 1.68;
    color: rgba(255,255,255,0.62);
    max-width: 560px;
    margin-bottom: 44px;
}
.tc-pg-hero-light .tc-pg-hero-sub { color: #4B5563; }
.tc-pg-hero-center .tc-pg-hero-sub { margin-left: auto; margin-right: auto; }

.tc-pg-hero-media {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
    position: relative;
}
.tc-pg-hero-media img { display: block; width: 100%; height: auto; }

/* ---- Section wrappers ---- */
.tc-pg-section      { padding: 110px 5%; background: #fff; }
.tc-pg-section-alt  { padding: 110px 5%; background: #F4F7FD; }
.tc-pg-section-dark { padding: 110px 5%; background: var(--tc-deep); color: #fff; }

.tc-pg-container    { max-width: 1200px; margin: 0 auto; }

/* ---- Section header ---- */
.tc-pg-header { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.tc-pg-header .eyebrow { margin-bottom: 16px; }
.tc-pg-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.15;
    color: #111;
    margin-bottom: 18px;
}
.tc-pg-section-dark .tc-pg-header h2 { 
    color: #fff; 
}
.tc-title-gradient {
    background: linear-gradient(135deg, #004AAD 0%, #002D6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.tc-pg-header p { font-size: 1.05rem; color: #4B5563; line-height: 1.72; margin: 0; }
.tc-pg-section-dark .tc-pg-header p { color: rgba(255,255,255,0.6); }
.tc-pg-header-left { text-align: left; margin-left: 0; margin-right: auto; }

/* ---- Grid layouts ---- */
.tc-pg-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tc-pg-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tc-pg-grid-2-asym { display: grid; grid-template-columns: 55% 45%; gap: 80px; align-items: center; }
.tc-pg-grid-2-asym.rev { grid-template-columns: 45% 55%; }

/* ---- Cards ---- */
.tc-pg-card {
    background: #fff;
    border: 1px solid rgba(0,74,173,0.08);
    border-radius: 22px;
    padding: 40px 34px;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.tc-pg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0,74,173,0.12);
    border-color: rgba(0,74,173,0.18);
}
.tc-pg-card-dark {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 40px 34px;
    transition: all 0.35s ease;
}
.tc-pg-card-dark:hover {
    background: rgba(255,255,255,0.07);
    transform: translateY(-5px);
    border-color: rgba(0,74,173,0.3);
}

.tc-pg-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: rgba(0,74,173,0.07);
    display: flex; align-items: center; justify-content: center;
    color: var(--tc-blue);
    margin-bottom: 20px;
    transition: all 0.3s;
}
.tc-pg-card:hover .tc-pg-icon { background: var(--tc-blue); color: #fff; }
.tc-pg-card-dark .tc-pg-icon  { background: rgba(255,255,255,0.09); color: rgba(255,255,255,0.85); }

.tc-pg-card h3,
.tc-pg-card-dark h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.tc-pg-card h3 { color: #111; }
.tc-pg-card-dark h3 { color: #fff; }
.tc-pg-card p { font-size: 0.9rem; line-height: 1.68; color: #6B7280; margin: 0; }
.tc-pg-card-dark p { font-size: 0.9rem; line-height: 1.68; color: rgba(255,255,255,0.52); margin: 0; }

.tc-pg-step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--tc-accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 18px;
}

/* ---- Feature row (alternating) ---- */
.tc-pg-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid rgba(0,74,173,0.06);
}
.tc-pg-feature-row:last-of-type { border-bottom: none; }
.tc-pg-feature-row.rev { direction: rtl; }
.tc-pg-feature-row.rev > * { direction: ltr; }

.tc-pg-feature-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.tc-pg-feature-text p { font-size: 1rem; color: #4B5563; line-height: 1.75; margin-bottom: 24px; }

.tc-pg-feature-list {
    list-style: none; padding: 0; margin: 0 0 32px;
    display: flex; flex-direction: column; gap: 10px;
}
.tc-pg-feature-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.92rem; color: #374151;
}
.tc-pg-feature-list li::before {
    content: '';
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(0,74,173,0.08);
    flex-shrink: 0; margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23004AAD' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.tc-pg-feature-media {
    border-radius: 22px;
    overflow: hidden;
    background: #F4F7FD;
    box-shadow: 0 20px 60px rgba(0,74,173,0.1);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tc-pg-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.tc-pg-feature-media-placeholder {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 14px; color: rgba(0,74,173,0.25);
    font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
}

/* ---- Stats bar (shared, light + dark variants) ---- */
.tc-pg-stats-bar {
    background: #fff;
    border-bottom: 1px solid rgba(0,74,173,0.07);
    padding: 0 5%;
}
.tc-pg-stats-bar-dark {
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0 5%;
}
.tc-pg-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.tc-pg-stat {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    padding: 36px 24px; flex: 1; min-width: 110px;
}
.tc-pg-stat-n {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem; font-weight: 800;
    color: var(--tc-blue); line-height: 1;
    letter-spacing: -2px;
}
.tc-pg-stats-bar-dark .tc-pg-stat-n { color: #fff; }
.tc-pg-stat-n sup { font-size: 1.1rem; color: var(--tc-accent); vertical-align: super; }
.tc-pg-stat-l {
    font-size: 0.7rem; font-weight: 600; color: #9CA3AF;
    text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px;
}
.tc-pg-stats-bar-dark .tc-pg-stat-l { color: rgba(255,255,255,0.45); }
.tc-pg-stat-div { width: 1px; background: rgba(0,74,173,0.09); align-self: stretch; margin: 16px 0; flex-shrink: 0; }
.tc-pg-stats-bar-dark .tc-pg-stat-div { background: rgba(255,255,255,0.08); }

/* ---- CTA Section (shared) ---- */
.tc-pg-cta {
    padding: 130px 5%;
    background: var(--tc-deep);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tc-pg-cta::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.tc-pg-cta::after {
    content: '';
    position: absolute;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,74,173,0.22) 0%, transparent 65%);
    top: -300px; left: 50%; transform: translateX(-50%);
    pointer-events: none;
}
.tc-pg-cta-inner {
    position: relative; z-index: 2;
    max-width: 680px; margin: 0 auto;
}
.tc-pg-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 800; color: #fff;
    letter-spacing: -2px; line-height: 1.15;
    margin-bottom: 18px;
}
.tc-pg-cta > .tc-pg-cta-inner > p {
    font-size: 1.08rem; color: rgba(255,255,255,0.62); line-height: 1.7;
}
.tc-pg-cta-btns {
    display: flex; gap: 14px;
    justify-content: center; flex-wrap: wrap;
    margin-top: 40px;
}
.tc-pg-btn-primary {
    background: var(--tc-accent);
    color: #fff !important; text-decoration: none !important;
    padding: 6px 6px 6px 26px;
    border-radius: 100px; font-weight: 700; font-size: 0.95rem;
    display: inline-flex; align-items: center; gap: 12px;
    transition: all 0.3s;
}
.tc-pg-btn-primary:hover {
    background: #e67200;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255,127,0,0.45);
}
.tc-pg-btn-primary .tc-pg-btn-arrow {
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}
.tc-pg-btn-primary:hover .tc-pg-btn-arrow { background: rgba(255,255,255,0.28); }

.tc-pg-btn-ghost {
    border: 1.5px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    padding: 18px 32px;
    border-radius: 8px; font-weight: 700; font-size: 0.95rem;
    transition: all 0.3s; display: inline-block;
}
.tc-pg-btn-ghost:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff !important;
    background: rgba(255,255,255,0.06);
}
.tc-pg-btn-ghost-blue {
    border: 1.5px solid var(--tc-blue);
    color: var(--tc-blue) !important;
    text-decoration: none !important;
    padding: 18px 32px;
    border-radius: 8px; font-weight: 700; font-size: 0.95rem;
    transition: all 0.3s; display: inline-block;
}
.tc-pg-btn-ghost-blue:hover {
    background: var(--tc-blue);
    color: #fff !important;
}

/* ---- Process pill / numbered step ---- */
.tc-pg-process-steps { display: flex; flex-direction: column; gap: 0; }
.tc-pg-process-step {
    display: flex; gap: 24px; align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid rgba(0,74,173,0.06);
}
.tc-pg-process-step:last-child { border-bottom: none; }
.tc-pg-process-num {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--tc-blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 0.9rem;
    flex-shrink: 0;
}
.tc-pg-process-step h4 { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: #111; margin: 0 0 5px; }
.tc-pg-process-step p  { font-size: 0.88rem; color: #6B7280; line-height: 1.6; margin: 0; }

/* ---- Trust strip / pill badges ---- */
.tc-pg-trust-strip {
    padding: 20px 5%;
    background: #fff;
    border-bottom: 1px solid rgba(0,74,173,0.06);
    display: flex; align-items: center; justify-content: center;
    gap: 12px; flex-wrap: wrap;
}
.tc-pg-trust-pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(0,74,173,0.05);
    border: 1px solid rgba(0,74,173,0.12);
    color: var(--tc-blue);
    padding: 7px 16px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.3px;
}
.tc-pg-trust-pill svg { opacity: 0.7; }

/* ---- Inquiry form (shared) ---- */
.tc-pg-inquiry {
    padding: 110px 5%;
    background: var(--tc-deep);
}
.tc-pg-inquiry-inner {
    max-width: 860px; margin: 0 auto;
}
.tc-pg-inquiry h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem; font-weight: 800;
    color: #fff; letter-spacing: -2px;
    text-align: center; margin-bottom: 48px;
}
.tc-pg-form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.tc-pg-form-group { display: flex; flex-direction: column; gap: 6px; }
.tc-pg-form-group.full { grid-column: 1/-1; }
.tc-pg-form-group label { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.tc-pg-form-group input,
.tc-pg-form-group select,
.tc-pg-form-group textarea {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
    width: 100%; box-sizing: border-box;
}
.tc-pg-form-group input::placeholder,
.tc-pg-form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.tc-pg-form-group input:focus,
.tc-pg-form-group select:focus,
.tc-pg-form-group textarea:focus {
    outline: none;
    border-color: rgba(0,74,173,0.7);
    background: rgba(255,255,255,0.10);
}
.tc-pg-form-group select option { background: #0A1128; color: #fff; }
.tc-pg-form-submit {
    grid-column: 1/-1; margin-top: 8px;
    background: var(--tc-blue); color: #fff;
    border: none; padding: 18px 36px;
    border-radius: 8px; font-family: 'Outfit', sans-serif;
    font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s;
    width: 100%;
}
.tc-pg-form-submit:hover {
    background: #003a8c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,74,173,0.4);
}

/* ---- Responsive: shared components ---- */
@media (max-width: 1024px) {
    .tc-pg-grid-3  { grid-template-columns: 1fr 1fr; }
    .tc-pg-grid-2-asym { grid-template-columns: 1fr; gap: 50px; }
    .tc-pg-grid-2-asym.rev { grid-template-columns: 1fr; }
    .tc-pg-hero-split { grid-template-columns: 1fr; }
    .tc-pg-feature-row { grid-template-columns: 1fr; gap: 44px; }
    .tc-pg-feature-row.rev { direction: ltr; }
}
@media (max-width: 768px) {
    .tc-pg-hero-dark,
    .tc-pg-hero-light { min-height: 70vh; padding: 130px 5% 70px; }
    .tc-pg-hero-dark h1,
    .tc-pg-hero-light h1 { font-size: clamp(2.8rem, 9vw, 3.4rem); letter-spacing: -2px; }
    .tc-pg-grid-3 { grid-template-columns: 1fr; }
    .tc-pg-grid-2 { grid-template-columns: 1fr; }
    .tc-pg-section, .tc-pg-section-alt, .tc-pg-section-dark { padding: 80px 5%; }
    .tc-pg-stats-inner { flex-wrap: wrap; justify-content: center; }
    .tc-pg-stat { padding: 20px 14px; min-width: 100px; }
    .tc-pg-stat-div { display: none; }
    .tc-pg-form { grid-template-columns: 1fr; }
    .tc-pg-form-group.full { grid-column: auto; }
    .tc-pg-cta h2 { font-size: 2.4rem; }
    .tc-pg-cta-btns { flex-direction: column; align-items: center; }
}

/* =========================================
   TEAMS PAGE STYLES
   ========================================= */
.teams-page {
    --primary-gold: #D4AF37;
    --dark-bg: #0A0A0A;
    --card-bg: #1A1A1A;
    --text-muted: #A0A0A0;
    background-color: var(--dark-bg);
    color: #fff;
    font-family: 'Inter', sans-serif;
    padding-bottom: 100px;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-gold);
}

.team-card .member-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-card:hover .member-image {
    filter: grayscale(0%);
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-content .role {
    color: var(--primary-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.team-content .excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-gold);
}

.accent-blur {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}


/* ===== EXTRACTED GLOBAL HERO STYLES ===== */
.tc-hero-base {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 5% 100px;
    background: radial-gradient(circle at center, #004AAD 0%, #002D6B 100%);
    position: relative;
    overflow: hidden;
}

.tc-hero-aura {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(0,74,173,0.2) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.tc-hero-badge {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.tc-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -4px;
    line-height: 1.02;
    margin: 0 0 24px;
}

.tc-hero-subtitle {
    max-width: 600px;
    margin: 0 auto 44px;
    font-size: 1.4rem;
    opacity: 0.9;
}

.tc-hero-cta-wrap {
    justify-content: center;
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.tc-btn-primary-orange {
    background: #FF7F00;
    color: #fff;
    border-color: #FF7F00;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}
.tc-btn-primary-orange:hover {
    background: #e67300;
    transform: translateY(-2px);
}

/* ===== EXTRACTED INLINE STYLES FROM TEMPLATES ===== */

/* Archive Specific Styles */
.tc-archive-hero {
    padding: 180px 5% 100px; /* Increased top padding for better navbar overlap */
    background: #0A1128;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tc-archive-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 74, 173, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tc-archive-hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    letter-spacing: -3px;
    font-family: 'Syne', sans-serif;
}

.tc-archive-hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tc-archive-content {
    padding: 80px 0;
    background: #fff;
}

.tc-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

@media (max-width: 1100px) {
    .tc-case-grid { grid-template-columns: repeat(2, 1fr); }
    .tc-archive-hero h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .tc-case-grid { grid-template-columns: 1fr; }
}


        @keyframes float-tag {

            0%,
            100% {
                transform: translate(0, 0);
            }

            50% {
                transform: translate(-10px, -20px);
            }
        }
    

                    .tc-engagement-grid {
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);
                        gap: 40px;
                        margin: 60px 0 40px;
                        position: relative;
                    }

                    .tc-engagement-card {
                        background: #F8FAFF;
                        border-radius: 24px;
                        padding: 40px 30px 80px;
                        text-align: center;
                        position: relative;
                        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                    }

                    .tc-card-tab {
                        position: absolute;
                        top: -22px;
                        left: 50%;
                        transform: translateX(-50%);
                        padding: 14px 45px;
                        border-radius: 18px;
                        color: #fff;
                        font-size: 0.85rem;
                        font-weight: 800;
                        letter-spacing: 1.5px;
                        text-transform: uppercase;
                        white-space: nowrap;
                        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
                    }

                    .tc-card-tab.blue {
                        background: #004AAD;
                    }

                    .tc-card-tab.orange {
                        background: #FF7F00;
                    }

                    .tc-engagement-card h3 {
                        font-family: 'Outfit', sans-serif;
                        font-size: 1.5rem;
                        font-weight: 700;
                        color: #060C1D;
                        margin: 20px 0 20px;
                    }

                    .tc-engagement-card ul {
                        list-style: none;
                        padding: 0;
                        margin: 0;
                        text-align: left;
                        display: inline-block;
                    }

                    .tc-engagement-card ul li {
                        font-size: 1rem;
                        color: #4B5563;
                        margin-bottom: 12px;
                        position: relative;
                        padding-left: 20px;
                    }

                    .tc-engagement-card ul li::before {
                        content: "•";
                        position: absolute;
                        left: 0;
                        color: #FF7F00;
                        font-weight: 800;
                    }

                    .tc-card-bottom-icon {
                        position: absolute;
                        bottom: -45px;
                        left: 50%;
                        transform: translateX(-50%);
                        width: 90px;
                        height: 90px;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        background: #fff;
                        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
                        padding: 5px;
                        z-index: 2;
                    }

                    .tc-icon-inner {
                        width: 100%;
                        height: 100%;
                        border-radius: 50%;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        color: #fff;
                    }

                    .tc-icon-inner.blue {
                        background: #004AAD;
                    }

                    .tc-icon-inner.orange {
                        background: #FF7F00;
                    }

                    .tc-engagement-timeline {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        margin-top: 80px;
                        gap: 15px;
                        opacity: 0.6;
                    }

                    .tc-timeline-dot {
                        width: 14px;
                        height: 14px;
                        border-radius: 50%;
                    }

                    .tc-timeline-dot.blue {
                        background: #004AAD;
                    }

                    .tc-timeline-dot.orange {
                        background: #FF7F00;
                    }

                    .tc-timeline-line {
                        flex: 0 0 180px;
                        height: 2px;
                        border-top: 2px dashed #CBD5E1;
                    }

                    @media (max-width: 992px) {
                        .tc-engagement-grid {
                            grid-template-columns: 1fr;
                            gap: 60px;
                        }

                        .tc-timeline-line {
                            flex: 1;
                        }
                    }
                

        :root {
            --tc-blue: #004AAD;
            --tc-dark: #060C1D;
            --tc-accent: #FF7F00;
            --tc-gray: #6B7280;
            --tc-light-gray: #F3F4F6;
        }

        body {
            margin: 0;
            font-family: 'DM Sans', sans-serif;
            background: #fff;
            color: #1F2937;
            overflow-x: hidden;
        }

        h1,
        h2,
        h3,
        h4,
        .tc-font-outfit {
            font-family: 'Outfit', sans-serif;
        }

        .tc-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 5%;
        }

        /* ===== CSS REMOVED FOR HERO (NOW USING GLOBAL UTILITIES) ===== */

        /* ===== FILTER BAR ===== */
        .tc-filter-bar {
            background: #fff;
            border-bottom: 1px solid #E5E7EB;
            position: sticky;
            top: 0;
            z-index: 100;
            padding: 20px 0;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
        }

        .tc-filter-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 30px;
        }

        .tc-filter-groups {
            display: flex;
            gap: 40px;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .tc-filter-groups::-webkit-scrollbar {
            display: none;
        }

        .tc-filter-group {
            display: flex;
            align-items: center;
            gap: 15px;
            white-space: nowrap;
        }

        .tc-filter-label {
            font-size: 0.75rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--tc-gray);
        }

        .tc-filter-pills {
            display: flex;
            gap: 10px;
        }

        .tc-filter-pill {
            font-size: 0.85rem;
            font-weight: 700;
            color: #4B5563;
            padding: 8px 18px;
            border-radius: 100px;
            background: var(--tc-light-gray);
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .tc-filter-pill:hover,
        .tc-filter-pill.active {
            background: var(--tc-blue);
            color: #fff;
        }

        .tc-filter-pill.active {
            box-shadow: 0 4px 12px rgba(0, 74, 173, 0.2);
        }

        /* ===== FEATURED POST ===== */
        .tc-featured-section {
            padding: 80px 0;
        }

        .tc-featured-card {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            background: #fff;
            border-radius: 32px;
            overflow: hidden;
            box-shadow: 0 30px 60px -15px rgba(0, 74, 173, 0.1);
            border: 1px solid rgba(0, 74, 173, 0.08);
            transition: transform 0.4s ease;
        }

        .tc-featured-card:hover {
            transform: translateY(-5px);
        }

        .tc-featured-img {
            height: 500px;
            overflow: hidden;
            position: relative;
        }

        .tc-featured-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .tc-featured-card:hover .tc-featured-img img {
            transform: scale(1.05);
        }

        .tc-featured-content {
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .tc-meta-row {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
        }

        .tc-cat-badge {
            background: rgba(0, 74, 173, 0.1);
            color: var(--tc-blue);
            padding: 6px 14px;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .tc-date {
            font-size: 0.85rem;
            color: var(--tc-gray);
            font-weight: 600;
        }

        .tc-featured-content h2 {
            font-size: 2.8rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 20px;
            letter-spacing: -1.5px;
        }

        .tc-featured-content p {
            font-size: 1.15rem;
            line-height: 1.7;
            color: #4B5563;
            margin-bottom: 35px;
        }

        .tc-author-box {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .tc-author-img {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            background: #eee;
        }

        .tc-author-info h5 {
            margin: 0;
            font-size: 1rem;
            font-weight: 800;
        }

        .tc-author-info p {
            margin: 0;
            font-size: 0.8rem;
            color: var(--tc-gray);
            font-weight: 600;
        }

        /* ===== BLOG GRID ===== */
        .tc-blog-main {
            padding: 0 0 120px;
        }

        .tc-blog-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 35px;
        }

        @media (min-width: 768px) {
            .tc-blog-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .tc-blog-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 1440px) {
            .tc-blog-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        .tc-post-card {
            background: #fff;
            border-radius: 24px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            color: inherit;
            padding: 20px;
            border: 1px solid rgba(0, 74, 173, 0.06);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }

        .tc-post-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px -12px rgba(0, 74, 173, 0.15);
            border-color: rgba(0, 74, 173, 0.12);
        }

        .tc-post-img {
            height: 240px;
            border-radius: 16px;
            margin-bottom: 20px;
            position: relative;
        }

        .tc-post-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .tc-post-card:hover .tc-post-img img {
            transform: scale(1.05);
        }

        .tc-post-content h3 {
            font-size: 1.5rem;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 12px;
            letter-spacing: -0.5px;
            transition: color 0.3s;
        }

        .tc-post-card:hover .tc-post-content h3 {
            color: var(--tc-blue);
        }

        .tc-post-content p {
            font-size: 1rem;
            line-height: 1.6;
            color: #6B7280;
            margin-bottom: 25px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* ===== PAGINATION ===== */
        .tc-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 80px;
        }

        .tc-page-num {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--tc-light-gray);
            color: #4B5563;
            font-weight: 800;
            text-decoration: none;
            transition: all 0.3s;
        }

        .tc-page-num.active,
        .tc-page-num:hover {
            background: var(--tc-accent);
            color: #fff;
            box-shadow: 0 4px 12px rgba(255, 127, 0, 0.2);
        }

        .tc-page-arrow {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 1px solid #E5E7EB;
            color: var(--tc-blue);
            transition: all 0.3s;
            text-decoration: none;
        }

        .tc-page-arrow:hover {
            background: var(--tc-blue);
            color: #fff;
            border-color: var(--tc-blue);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .tc-featured-card {
                grid-template-columns: 1fr;
            }

            .tc-featured-img {
                height: 350px;
            }

            .tc-featured-content {
                padding: 40px;
            }

            .tc-filter-container {
                flex-direction: column;
                align-items: flex-start;
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .tc-blog-hero {
                padding: 120px 0 80px;
            }

            .tc-blog-grid {
                grid-template-columns: 1fr;
            }

            .tc-featured-content h2 {
                font-size: 2.2rem;
            }
        }
    

                            .tc-new-featured .feat-img { transform: scale(1); }
                            .tc-new-featured:hover .feat-img { transform: scale(1.05); }
                        

            @keyframes float-tag {

                0%,
                100% {
                    transform: translateY(0);
                }

                50% {
                    transform: translateY(-15px);
                }
            }
        

    @media (max-width: 992px) {
        #contact-form-section .tc-pg-container {
            grid-template-columns: 1fr !important;
            gap: 40px !important;
        }
        .tc-contact-form-wrapper {
            order: -1;
        }
    }
    

            @keyframes sentinel-scan {
                0% {
                    transform: translateY(-300px);
                    opacity: 0;
                }

                20% {
                    opacity: 1;
                }

                80% {
                    opacity: 1;
                }

                100% {
                    transform: translateY(500px);
                    opacity: 0;
                }
            }

            .sentinel-doc-card {
                animation: sentinel-float 6s ease-in-out infinite;
                box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 74, 173, 0.1);
            }

            @keyframes sentinel-float {

                0%,
                100% {
                    transform: translateY(0) rotate(0deg);
                }

                50% {
                    transform: translateY(-15px) rotate(0.5deg);
                }
            }
        

                        @keyframes shimmer {
                            0% {
                                background-position: 200% 0
                            }

                            100% {
                                background-position: -200% 0
                            }
                        }
                    

/* Responsive tweaks for single career */
@media (max-width: 992px) {
    .tc-pg-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .tc-career-sidebar {
        order: -1; /* Move form to top on mobile */
    }
    .tc-career-sidebar > div {
        position: static !important;
    }
}
.tc-career-content h2 {
    font-family: 'Outfit', sans-serif;
    color: #111;
    margin: 40px 0 20px;
}
.tc-career-content h3 {
    font-family: 'Outfit', sans-serif;
    color: #111;
    margin: 30px 0 15px;
}
.tc-career-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}
.tc-career-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}
.tc-career-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--tc-blue);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}


    #page,
    #primary,
    #content,
    #main,
    .site-content,
    .ast-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .tc-cs-featured-wrap {
        max-width: 1200px;
        /* Fits body width */
        margin: 50px auto 0;
        /*Clear 40px gap below the ~80px sticky header */
        background: #000;
        overflow: hidden;
        position: relative;
        z-index: 10;
        border-radius: 24px;
        /* Premium card aesthetic */
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    }

    .tc-cs-featured-image {
        width: 100%;
        height: auto;
        display: block;
        max-height: 85vh;
        object-fit: cover;
    }

    .tc-cs-header {
        padding: 100px 5% 40px;
        max-width: 1200px;
        /* Site-standard container width */
        margin: 0 auto;
        text-align: left;
    }

    .tc-cs-header h1 {
        font-size: clamp(2.2rem, 6vw, 3.8rem);
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -1.5px;
        margin: 15px 0 25px;
        color: #1a1a1a;
        font-family: 'Outfit', sans-serif;
    }

    .tc-cs-client-tag {
        color: var(--tc-blue);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 0.8rem;
    }

    .tc-cs-tags-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
        margin-bottom: 30px;
    }

    .tc-cs-tag {
        padding: 4px 14px;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 600;
        color: #666;
    }

    /* 2. THE CONTENT COLUMN - RESTORED TO SITE STANDARD */
    .tc-cs-content-flow {
        max-width: 1200px;
        /* Site-standard container width */
        margin: 0 auto;
        padding: 40px 5% 100px;
    }

    /* Metadata Editorial Block */
    .tc-cs-meta-editorial {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 40px;
        padding-bottom: 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        /* Slightly darker for clear separation */
    }

    .tc-meta-avatar img {
        border-radius: 50%;
        width: 44px;
        height: 44px;
        object-fit: cover;
    }

    .tc-meta-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .tc-meta-author {
        font-weight: 600;
        color: #1a1a1a;
        font-size: 0.95rem;
    }

    .tc-meta-details {
        font-size: 0.85rem;
        color: #666;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .tc-meta-dot {
        font-weight: bold;
        font-size: 1rem;
        line-height: 1;
    }

    .tc-cs-narrative {
        margin-bottom: 60px;
    }

    .tc-cs-narrative h2 {
        font-size: 2rem;
        font-weight: 800;
        margin-top: 50px;
        margin-bottom: 24px;
        color: #1a1a1a;
    }

    .tc-cs-narrative p {
        font-size: 1.25rem;
        /* Larger, Medium-style font size */
        line-height: 1.75;
        /* Editorial line height */
        color: #292929;
        /* High contrast readability */
        margin-bottom: 35px;
        font-weight: 400;
    }

    /* Gallery & Grid Adjustments - Aligned to Site Standard */
    .tc-project-gallery {
        max-width: 1200px;
        margin: 80px auto 0;
    }

    .tc-project-gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* Restored to 3 columns for 1200px width */
        gap: 30px;
        margin-top: 50px;
    }

    .tc-gallery-thumb {
        aspect-ratio: 4/3;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        background: #f8fafc;
    }

    @media (max-width: 768px) {
        .tc-cs-header h1 {
            font-size: 2.2rem;
        }

        .tc-project-gallery-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .tc-cs-content-flow {
            padding-bottom: 60px;
        }
    }

    @media (max-width: 480px) {
        .tc-project-gallery-grid {
            grid-template-columns: 1fr;
        }
    }


.tc-faq-item[open] summary span { transform: rotate(45deg); }
.tc-faq-item summary::-webkit-details-marker { display:none; }


        :root {
            --tc-blue: #004AAD;
            --tc-dark: #081128;
            --tc-accent: #FF7F00;
        }

        body {
            margin: 0;
            font-family: 'Inter', sans-serif;
            background: #fff;
        }

        .tc-kb-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===== 1. HERO ===== */
        .tc-kb-hero {
            min-height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 140px 5% 100px;
            background: radial-gradient(circle at center, #004AAD 0%, #002D6B 100%);
            position: relative;
            overflow: hidden;
            color: #fff;
        }

        .tc-kb-hero-aura {
            position: absolute;
            top: -10%;
            left: -10%;
            width: 120%;
            height: 120%;
            background: radial-gradient(circle at center, rgba(0, 74, 173, 0.2) 0%, transparent 60%);
            pointer-events: none;
            z-index: 1;
        }

        .tc-kb-hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
        }

        .tc-kb-hero-content h1 {
            font-family: 'Outfit', sans-serif;
            font-size: clamp(3rem, 6vw, 5rem);
            font-weight: 800;
            letter-spacing: -3px;
            line-height: 1.1;
            margin: 0 0 24px;
        }

        .tc-kb-hero-content p {
            font-size: 1.3rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

        /* ===== 2. FILTERS ===== */
        .tc-kb-filter-section {
            background: #fff;
            border-bottom: 1px solid #F3F4F6;
            position: sticky;
            top: 0;
            z-index: 100;
            padding-top: 30px;
        }

        .tc-kb-filters {
            display: flex;
            gap: 40px;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .tc-kb-filters::-webkit-scrollbar {
            display: none;
        }

        .tc-kb-filter {
            font-size: 0.9rem;
            font-weight: 700;
            color: #9CA3AF;
            cursor: pointer;
            white-space: nowrap;
            padding-bottom: 20px;
            position: relative;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .tc-kb-filter.active {
            color: var(--tc-blue);
        }

        .tc-kb-filter.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--tc-blue);
            border-radius: 10px 10px 0 0;
        }

        /* ===== 3. GRID & CARDS ===== */
        .tc-kb-main {
            padding: 80px 0 120px;
        }

        .tc-kb-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
            gap: 35px;
        }

        .tc-kb-card {
            background: #fff;
            border-radius: 24px;
            overflow: hidden;
            border: 1px solid rgba(0, 74, 173, 0.06);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
        }

        .tc-kb-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 25px 50px -12px rgba(0, 74, 173, 0.12);
            border-color: rgba(0, 74, 173, 0.15);
        }

        .tc-kb-img-wrapper {
            position: relative;
            height: 240px;
            width: 100%;
            overflow: hidden;
        }

        .tc-kb-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .tc-kb-card:hover .tc-kb-img {
            transform: scale(1.05);
        }

        .tc-kb-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            padding: 7px 14px;
            border-radius: 6px;
            font-size: 0.7rem;
            font-weight: 800;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            backdrop-filter: blur(4px);
            z-index: 3;
        }

        .badge-casestudy {
            background: rgba(30, 58, 138, 0.9);
        }

        .badge-academy {
            background: rgba(148, 163, 184, 0.9);
        }

        .badge-insight {
            background: rgba(16, 185, 129, 0.9);
        }

        .badge-whitepaper {
            background: rgba(59, 130, 246, 0.9);
        }

        .badge-blog {
            background: rgba(31, 41, 55, 0.9);
        }

        .tc-kb-content {
            padding: 35px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .tc-kb-content h3 {
            font-family: 'Outfit', sans-serif;
            font-size: 1.55rem;
            font-weight: 800;
            margin: 0 0 16px;
            line-height: 1.25;
            color: var(--tc-dark);
            letter-spacing: -0.5px;
        }

        .tc-kb-content p {
            color: #6B7280;
            font-size: 1rem;
            line-height: 1.65;
            margin: 0 0 28px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .tc-kb-link {
            margin-top: auto;
            font-size: 0.95rem;
            font-weight: 800;
            color: var(--tc-blue);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: gap 0.3s ease;
        }

        .tc-kb-link:hover {
            gap: 15px;
        }

        .tc-kb-link-arrow {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        /* ===== 4. NEWSLETTER ===== */
        .tc-kb-newsletter {
            background: #081128;
            padding: 120px 5%;
            color: #fff;
        }

        .tc-kb-newsletter-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 60px;
            background: linear-gradient(135deg, rgba(0, 74, 173, 0.15) 0%, rgba(0, 74, 173, 0.05) 100%);
            padding: 80px;
            border-radius: 40px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }

        .tc-kb-newsletter-inner::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, rgba(0, 74, 173, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .tc-kb-news-text {
            position: relative;
            z-index: 2;
        }

        .tc-kb-news-text h2 {
            font-family: 'Outfit', sans-serif;
            font-size: 2.8rem;
            font-weight: 800;
            margin: 0 0 15px;
            letter-spacing: -1.5px;
        }

        .tc-kb-news-text p {
            opacity: 0.7;
            margin: 0;
            font-size: 1.2rem;
            line-height: 1.6;
        }

        .tc-kb-news-form {
            position: relative;
            z-index: 2;
            display: flex;
            gap: 15px;
            flex-grow: 1;
            max-width: 450px;
        }

        .tc-kb-news-form input {
            flex-grow: 1;
            padding: 20px 28px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
        }

        /* Sits in the panel's bottom padding, so the two columns do not move. */
        .tc-kb-newsletter .tc-form-status {
            position: absolute;
            z-index: 2;
            left: 20px;
            right: 20px;
            bottom: 20px;
            margin: 0;
            text-align: center;
            color: #86EFAC;
        }

        .tc-kb-newsletter .tc-form-status.is-error {
            color: #FCA5A5;
        }

        .tc-kb-news-form input:focus {
            border-color: var(--tc-blue);
        }

        .tc-kb-news-form button {
            padding: 0 40px;
            background: var(--tc-blue);
            color: #fff;
            border-radius: 14px;
            font-weight: 800;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
        }

        .tc-kb-news-form button:hover {
            background: #0056cc;
            transform: scale(1.02);
        }

        @media (max-width: 991px) {
            .tc-kb-newsletter-inner {
                flex-direction: column;
                text-align: center;
                padding: 50px 30px;
            }

            .tc-kb-news-form {
                width: 100%;
                flex-direction: column;
            }

            .tc-kb-news-form button {
                padding: 20px;
            }

            .tc-kb-news-text h2 {
                font-size: 2.2rem;
            }
        }
    

        @keyframes tcFadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    

/* Premium Light Theme & Mesh Gradients for Course Page */
.course-hero {
    position: relative;
    padding: 120px 5%;
    background-color: #f7fafc;
    background-image: radial-gradient(at 0% 0%, hsla(253,16%,7%,0) 0, transparent 50%), radial-gradient(at 50% 0%, hsla(180,60%,90%,1) 0, transparent 50%), radial-gradient(at 100% 0%, hsla(172,40%,85%,1) 0, transparent 50%);
    overflow: hidden;
    text-align: center;
}
.course-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(to top, #ffffff, transparent); pointer-events: none;
}
.course-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.course-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 168, 150, 0.1);
    color: #008779;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}
.course-title {
    font-size: 4rem;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
}
.course-excerpt {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.course-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #2d3748;
    background: rgba(255,255,255,0.6);
    padding: 12px 24px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.meta-icon {
    font-size: 1.2rem;
}
.apply-btn {
    display: inline-block;
    background: #00a896;
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 168, 150, 0.2);
    font-family: 'Montserrat', sans-serif;
}
.apply-btn:hover {
    transform: translateY(-2px);
    background: #008779;
    box-shadow: 0 15px 25px rgba(0, 168, 150, 0.3);
    color: #fff;
}

/* Syllabus Section */
.course-section {
    padding: 80px 5%;
    max-width: 1000px;
    margin: 0 auto;
}
.section-title {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-align: center;
}
.syllabus-grid {
    display: grid;
    gap: 20px;
}
.module-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}
.module-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 168, 150, 0.1);
}
.module-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}
.module-num {
    color: #00a896;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.module-title {
    font-size: 1.4rem;
    color: #2d3748;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.module-desc {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}
.module-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.topic-tag {
    background: #edf2f7;
    color: #4a5568;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}
@media(max-width: 768px) {
    .course-title { font-size: 2.5rem; }
    .course-meta { flex-direction: column; gap: 15px; }
}


/* LEGAL PAGES */
.tc-legal-hero {
    background: radial-gradient(circle at center, #004AAD 0%, #002D6B 100%);
    color: #fff;
    text-align: center;
    padding: 160px 6% 70px;
}

.tc-legal-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
}

.tc-legal-hero p {
    margin: 0;
    opacity: 0.8;
}

.tc-legal-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 70px 24px 100px;
    color: #1F2937;
    font-size: 1.05rem;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.tc-legal-body h2 {
    margin: 44px 0 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #081128;
}

.tc-legal-body li {
    margin-bottom: 8px;
}

.tc-legal-body a {
    color: var(--tc-blue);
    text-decoration: underline;
}

/* MEGA MENU BEHAVIOUR */
.tc-nav-item:focus-within > .tc-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.tc-mega-menu {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}

/* Keeps the menu open while the pointer crosses from its label down to the panel. */
.tc-nav-item > a {
    position: relative;
}

.tc-nav-item:hover > a:not(:only-child)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -24px;
    right: -24px;
    height: 30px;
}

.tc-mega-ecosystem .tc-mega-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    padding-top: 34px;
    padding-bottom: 38px;
    align-items: stretch;
}

.tc-mega-ecosystem .tc-mega-cols {
    display: block;
}

.tc-mega-ecosystem .tc-mega-cols > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    align-content: start;
}

.tc-mega-ecosystem .tc-mega-title {
    grid-column: 1 / -1;
    margin-bottom: 8px;
}

.tc-mega-ecosystem .tc-mega-link {
    margin: 0;
    padding: 14px 12px;
}

.tc-mega-feature.tc-mega-preview {
    display: block;
    min-height: 290px;
    padding: 0;
    background: #081128;
}

.tc-mega-preview .tc-mega-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 26px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-transform: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.tc-mega-preview .tc-mega-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 12, 29, 0.05) 20%, rgba(6, 12, 29, 0.92) 100%);
}

.tc-mega-preview .tc-mega-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.tc-mega-slide-text {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-mega-slide-text strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.tc-mega-slide-text > span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tc-mega-preview .tc-mega-slide:hover .tc-mega-slide-text > span {
    color: #FFB366;
}

@media (max-width: 1100px) {
    .tc-mega-ecosystem .tc-mega-inner {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 24px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Print Studio sits inside TYNCAD Creatives, and menus show it that way. */
.tc-mega-ecosystem .tc-mega-sublink {
    box-shadow: inset 3px 0 0 rgba(255, 127, 0, 0.7);
}

.tc-mobile-subitem a {
    padding-left: 18px !important;
    border-left: 3px solid rgba(255, 127, 0, 0.7);
}
