/*=====================================================================
  Theme 4: Cyber Orange — Enterprise Tech & Digital Transformation
  Inspired by the NMC circuit-trace monogram logo.
  Palette: Electric Cyber Orange (#FF5500), Obsidian Black (#080B11),
           Stark White (#FFFFFF), and Sleek Tech Slate/Grey.
  Fonts: 'Plus Jakarta Sans' (Body) & 'Space Grotesk' (Headings)
=====================================================================*/

/* ===== CSS Variables ===== */
:root {
    --t4-primary: #ff5500;
    --t4-primary-hover: #e04b00;
    --t4-primary-light: #ff7722;
    --t4-primary-dark: #b83d00;
    --t4-primary-subtle: rgba(255, 85, 0, 0.12);
    --t4-primary-glow: rgba(255, 85, 0, 0.4);
    --t4-primary-gradient: linear-gradient(135deg, #ff5500 0%, #ff7700 100%);
    --t4-dark-gradient: linear-gradient(180deg, #080b11 0%, #0f141f 100%);

    --t4-void: #080b11;
    --t4-dark-1: #0c1018;
    --t4-dark-2: #111622;
    --t4-dark-3: #181f2f;
    --t4-dark-border: #232d42;

    --t4-white: #ffffff;
    --t4-offwhite: #f8fafc;
    --t4-slate-100: #f1f5f9;
    --t4-slate-200: #e2e8f0;
    --t4-slate-300: #cbd5e1;
    --t4-slate-400: #94a3b8;
    --t4-slate-500: #64748b;
    --t4-slate-700: #334155;
    --t4-slate-800: #1e293b;
    --t4-slate-900: #0f172a;

    --t4-radius-sm: 8px;
    --t4-radius: 14px;
    --t4-radius-lg: 22px;
    --t4-radius-full: 9999px;

    --t4-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    --t4-shadow-orange: 0 8px 30px rgba(255, 85, 0, 0.25);
    --t4-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Global Base ===== */
.theme4-body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background-color: var(--t4-void);
    color: var(--t4-slate-300);
    overflow-x: hidden;
}

.theme4-wrapper {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--t4-void);
}

.theme4-wrapper h1,
.theme4-wrapper h2,
.theme4-wrapper h3,
.theme4-wrapper h4,
.theme4-wrapper h5,
.theme4-wrapper h6 {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    color: var(--t4-white);
    letter-spacing: -0.02em;
}

.theme4-body ::selection {
    background-color: var(--t4-primary);
    color: #ffffff;
}

/* ===== Custom Scrollbar ===== */
.theme4-body::-webkit-scrollbar {
    width: 10px;
}
.theme4-body::-webkit-scrollbar-track {
    background: var(--t4-void);
}
.theme4-body::-webkit-scrollbar-thumb {
    background: #232d42;
    border-radius: 5px;
    border: 2px solid var(--t4-void);
}
.theme4-body::-webkit-scrollbar-thumb:hover {
    background: var(--t4-primary);
}

/* ===== Pulsing Tech Dot ===== */
.t4-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--t4-primary);
    box-shadow: 0 0 10px var(--t4-primary);
    animation: t4Pulse 2s infinite ease-in-out;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes t4Pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.7);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(255, 85, 0, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 85, 0, 0);
    }
}

/* ===== Buttons ===== */
.t4-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--t4-primary-gradient) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: var(--t4-radius-full);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(255, 85, 0, 0.35);
    transition: var(--t4-transition);
}

.t4-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 85, 0, 0.55);
    color: #ffffff !important;
}

.t4-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
    border: 1px solid var(--t4-dark-border) !important;
    border-radius: var(--t4-radius-full);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--t4-transition);
}

.t4-btn-outline:hover {
    border-color: var(--t4-primary) !important;
    background: rgba(255, 85, 0, 0.1) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(255, 85, 0, 0.25);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.t4-header {
    position: relative;
    z-index: 999;
}

.t4-navbar {
    padding: 18px 0 !important;
    background: rgba(8, 11, 17, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 85, 0, 0.12);
    transition: var(--t4-transition);
}

.header_area.navbar_fixed .t4-navbar {
    padding: 12px 0 !important;
    background: rgba(8, 11, 17, 0.96) !important;
    border-bottom: 1px solid rgba(255, 85, 0, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.header_area.navbar_fixed .t4-brand .t4-logo-img,
.header_area.navbar_fixed .sticky_logo.t4-brand img,
.header_area.navbar_fixed .sticky_logo .t4-logo-img {
    display: inline-block !important;
}

.t4-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    flex-shrink: 0;
    margin-right: 20px;
}

.t4-logo-img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 85, 0, 0.35));
    transition: var(--t4-transition);
}

.t4-brand:hover .t4-logo-img {
    filter: drop-shadow(0 0 16px rgba(255, 85, 0, 0.6));
    transform: scale(1.03);
}

.t4-navbar .navbar-nav {
    align-items: center;
    flex-wrap: nowrap;
}

.t4-navbar .navbar-nav .nav-link {
    font-family: 'Space Grotesk', sans-serif !important;
    color: var(--t4-slate-300) !important;
    font-weight: 500 !important;
    font-size: 13.5px !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 8px 11px !important;
    position: relative;
    white-space: nowrap;
    transition: var(--t4-transition);
}

.t4-navbar .navbar-nav .nav-link:hover,
.t4-navbar .navbar-nav .nav-item.active .nav-link {
    color: #ffffff !important;
}

.t4-navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 11px;
    right: 11px;
    height: 2px;
    background: var(--t4-primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    box-shadow: 0 0 8px var(--t4-primary);
}

.t4-navbar .navbar-nav .nav-link:hover::after,
.t4-navbar .navbar-nav .nav-item.active .nav-link::after {
    transform: scaleX(1);
}

.t4-nav-right {
    flex-shrink: 0;
}

.t4-navbar .dropdown-menu {
    background: var(--t4-dark-2) !important;
    border: 1px solid var(--t4-dark-border) !important;
    border-radius: var(--t4-radius);
    padding: 8px 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.t4-navbar .dropdown-menu .nav-link {
    color: var(--t4-slate-300) !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
}

.t4-navbar .dropdown-menu .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 85, 0, 0.12) !important;
}

.t4-ask-ai {
    background: rgba(255, 85, 0, 0.15) !important;
    border: 1px solid rgba(255, 85, 0, 0.4) !important;
    color: #ffffff !important;
    border-radius: var(--t4-radius-full);
    padding: 7px 16px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.2);
    transition: var(--t4-transition);
}

.t4-ask-ai svg {
    color: var(--t4-primary);
}

.t4-ask-ai:hover {
    background: var(--t4-primary) !important;
    border-color: var(--t4-primary) !important;
    box-shadow: 0 0 25px rgba(255, 85, 0, 0.55);
    transform: translateY(-2px);
}

.t4-ask-ai:hover svg {
    color: #ffffff;
}

.t4-cta-btn {
    display: inline-block;
    padding: 9px 24px;
    background: var(--t4-primary-gradient) !important;
    color: #ffffff !important;
    border-radius: var(--t4-radius-full);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.35);
    transition: var(--t4-transition);
}

.t4-cta-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.55);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.t4-navbar .navbar-toggler {
    border: 1px solid var(--t4-dark-border);
    padding: 8px;
    border-radius: var(--t4-radius-sm);
}

.t4-navbar .menu_toggle .hamburger span,
.t4-navbar .menu_toggle .hamburger-cross span {
    background: #ffffff !important;
}

/* ===== HERO SECTION ===== */
.t4-hero {
    position: relative;
    padding: 160px 0 120px;
    background: var(--t4-void);
    overflow: hidden;
}

.t4-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.t4-circuit-grid {
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 80%);
}

.t4-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
}

.t4-glow-orb-1 {
    width: 480px;
    height: 480px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.35) 0%, transparent 70%);
}

.t4-glow-orb-2 {
    width: 550px;
    height: 550px;
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.25) 0%, transparent 70%);
}

.t4-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(255, 85, 0, 0.1);
    border: 1px solid rgba(255, 85, 0, 0.3);
    border-radius: var(--t4-radius-full);
    color: var(--t4-primary-light);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.t4-hero-title {
    font-size: 48px !important;
    line-height: 1.18 !important;
    color: #ffffff !important;
    margin-bottom: 22px;
}

.t4-highlight {
    background: linear-gradient(135deg, #ffffff 0%, var(--t4-primary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.t4-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--t4-slate-400);
    max-width: 580px;
    margin-bottom: 34px;
}

.t4-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.t4-hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--t4-dark-border);
}

.t4-stat-item {
    display: flex;
    flex-direction: column;
}

.t4-stat-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.t4-stat-plus {
    color: var(--t4-primary);
}

.t4-stat-lbl {
    font-size: 12px;
    font-weight: 500;
    color: var(--t4-slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
}

.t4-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--t4-dark-border);
}

/* Console visual in Hero */
.t4-tech-console {
    background: var(--t4-dark-1);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 85, 0, 0.15);
    overflow: hidden;
    position: relative;
}

.t4-tech-console::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--t4-primary-gradient);
}

.t4-console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--t4-dark-2);
    border-bottom: 1px solid var(--t4-dark-border);
}

.t4-console-dots {
    display: flex;
    gap: 8px;
}

.t4-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.t4-dot-red { background: #ef4444; }
.t4-dot-yellow { background: #f59e0b; }
.t4-dot-green { background: #10b981; }

.t4-console-title {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--t4-slate-400);
    letter-spacing: 0.1em;
}

.t4-console-body {
    padding: 30px;
}

.t4-emblem-wrap {
    text-align: center;
    padding: 20px 0 26px;
}

.t4-emblem-img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 85, 0, 0.5));
}

.t4-tech-node {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius);
    margin-bottom: 12px;
    transition: var(--t4-transition);
}

.t4-tech-node:hover {
    border-color: var(--t4-primary);
    transform: translateX(4px);
    background: var(--t4-dark-3);
    box-shadow: 0 4px 16px rgba(255, 85, 0, 0.15);
}

.t4-node-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 85, 0, 0.12);
    color: var(--t4-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 85, 0, 0.25);
}

.t4-node-text h6 {
    font-size: 14px !important;
    margin-bottom: 2px;
    color: #ffffff !important;
}

.t4-node-text p {
    font-size: 12px;
    margin-bottom: 0;
    color: var(--t4-slate-400);
}

/* ===== SECTION HEADERS ===== */
.t4-section-header {
    margin-bottom: 50px;
}

.t4-section-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255, 85, 0, 0.1);
    border: 1px solid rgba(255, 85, 0, 0.3);
    border-radius: var(--t4-radius-full);
    color: var(--t4-primary-light);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.t4-section-header h2 {
    font-size: 38px !important;
    color: #ffffff !important;
    margin-bottom: 16px;
}

.t4-heading-trace {
    width: 60px;
    height: 3px;
    background: var(--t4-primary-gradient);
    border-radius: 3px;
    margin: 0 auto;
    position: relative;
}

.t4-heading-trace::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    top: -2px;
    right: 0;
    box-shadow: 0 0 6px var(--t4-primary);
}

/* ===== PRODUCTS SECTION ===== */
.t4-products {
    background: var(--t4-dark-1);
    padding: 100px 0;
}

.t4-product-card {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius);
    overflow: hidden;
    transition: var(--t4-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.t4-product-card:hover {
    border-color: var(--t4-primary);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 85, 0, 0.2);
}

.t4-product-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #000;
}

.t4-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.t4-product-card:hover .t4-product-thumb img {
    transform: scale(1.06);
}

.t4-product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
    font-weight: 700;
    background: rgba(8, 11, 17, 0.85);
    color: var(--t4-primary);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 85, 0, 0.3);
    backdrop-filter: blur(8px);
}

.t4-product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 11, 17, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--t4-transition);
}

.t4-product-card:hover .t4-product-overlay {
    opacity: 1;
}

.t4-product-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--t4-primary-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.5);
    transform: scale(0.8);
    transition: var(--t4-transition);
}

.t4-product-card:hover .t4-product-link {
    transform: scale(1);
}

.t4-product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.t4-product-category {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--t4-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.t4-product-body h4 {
    font-size: 19px !important;
    margin-bottom: 12px;
}

.t4-product-body h4 a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-product-body h4 a:hover {
    color: var(--t4-primary-light);
}

.t4-product-body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--t4-slate-400);
    margin-bottom: 20px;
    flex-grow: 1;
}

.t4-text-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--t4-primary) !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-text-arrow:hover {
    color: var(--t4-primary-light) !important;
    transform: translateX(4px);
}

/* ===== SERVICES SECTION ===== */
.t4-services {
    background: var(--t4-void);
    padding: 100px 0;
}

.t4-service-card {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius);
    padding: 32px 28px;
    height: 100%;
    position: relative;
    transition: var(--t4-transition);
    overflow: hidden;
}

.t4-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--t4-primary-gradient);
    transition: width 0.35s ease;
}

.t4-service-card:hover {
    border-color: rgba(255, 85, 0, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.t4-service-card:hover::after {
    width: 100%;
}

.t4-service-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.t4-service-step {
    font-family: 'Space Grotesk', monospace;
    font-size: 20px;
    font-weight: 700;
    color: var(--t4-primary);
}

.t4-service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 85, 0, 0.12);
    color: var(--t4-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 1px solid rgba(255, 85, 0, 0.25);
    transition: var(--t4-transition);
}

.t4-service-card:hover .t4-service-icon-box {
    background: var(--t4-primary);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.5);
}

.t4-service-content h4 {
    font-size: 20px !important;
    margin-bottom: 12px;
    color: #ffffff !important;
}

.t4-service-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--t4-slate-400);
    margin-bottom: 22px;
}

.t4-service-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--t4-primary) !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-service-arrow:hover {
    color: var(--t4-primary-light) !important;
    transform: translateX(4px);
}

/* ===== PARTNERS SECTION ===== */
.t4-partners {
    background: var(--t4-dark-1);
    padding: 90px 0;
}

.t4-partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.t4-partner-card {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: var(--t4-transition);
}

.t4-partner-card:hover {
    border-color: var(--t4-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 85, 0, 0.15);
}

.t4-partner-card img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0.8) grayscale(0.5);
    transition: var(--t4-transition);
}

.t4-partner-card:hover img {
    filter: brightness(1) grayscale(0);
}

/* ===== BREADCRUMB ===== */
.t4-breadcrumb {
    position: relative;
    padding: 130px 0 70px;
    background: var(--t4-void);
    overflow: hidden;
}

.t4-breadcrumb-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.t4-breadcrumb-grid {
    position: absolute;
    inset: 0;
    background-size: 32px 32px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

.t4-breadcrumb-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.25) 0%, transparent 70%);
    filter: blur(50px);
}

.t4-breadcrumb-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255, 85, 0, 0.1);
    border: 1px solid rgba(255, 85, 0, 0.3);
    border-radius: var(--t4-radius-full);
    color: var(--t4-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.t4-breadcrumb-content h1 {
    font-size: 40px !important;
    color: #ffffff !important;
    margin-bottom: 12px;
}

.t4-breadcrumb-content p {
    font-size: 16px;
    color: var(--t4-slate-400);
    max-width: 600px;
    margin: 0 auto;
}

.t4-breadcrumb-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--t4-dark-border);
}

.t4-accent-track {
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--t4-primary-gradient);
    box-shadow: 0 0 10px var(--t4-primary);
}

/* ===== PRODUCT LIST PAGE ===== */
.t4-product-list {
    background: var(--t4-void);
    padding: 80px 0;
}

.t4-pl-card {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius-lg);
    padding: 30px;
    margin-bottom: 36px;
    transition: var(--t4-transition);
}

.t4-pl-card:hover {
    border-color: rgba(255, 85, 0, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 85, 0, 0.15);
}

.t4-pl-image-wrapper {
    position: relative;
    border-radius: var(--t4-radius);
    overflow: hidden;
    height: 320px;
    background: #000;
}

.t4-pl-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.t4-pl-card:hover .t4-pl-image-wrapper img {
    transform: scale(1.05);
}

.t4-pl-node-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: 'Space Grotesk', monospace;
    font-size: 14px;
    font-weight: 700;
    background: rgba(8, 11, 17, 0.85);
    color: var(--t4-primary);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 85, 0, 0.3);
    backdrop-filter: blur(8px);
}

.t4-pl-content {
    padding: 20px 30px;
}

.t4-pl-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--t4-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.t4-pl-content h3 {
    font-size: 28px !important;
    color: #ffffff !important;
    margin-bottom: 16px;
}

.t4-pl-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--t4-slate-400);
    margin-bottom: 26px;
}

/* ===== PRODUCT & SERVICE DETAIL ===== */
.t4-product-detail,
.t4-service-detail {
    background: var(--t4-void);
    padding: 80px 0;
}

.t4-pd-hero,
.t4-sd-hero {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius-lg);
    padding: 40px;
}

.t4-pd-image-box,
.t4-sd-image-box {
    position: relative;
    border-radius: var(--t4-radius);
    overflow: hidden;
    height: 380px;
    background: #000;
    border: 1px solid var(--t4-dark-border);
}

.t4-pd-image-box img,
.t4-sd-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t4-pd-badge,
.t4-sd-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 85, 0, 0.1);
    border: 1px solid rgba(255, 85, 0, 0.3);
    border-radius: var(--t4-radius-full);
    color: var(--t4-primary-light);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.t4-pd-meta h2,
.t4-sd-meta h2 {
    font-size: 34px !important;
    color: #ffffff !important;
    margin-bottom: 16px;
}

.t4-pd-desc,
.t4-sd-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--t4-slate-300);
}

.t4-rich-text {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius-lg);
    padding: 40px;
    color: var(--t4-slate-300);
    font-size: 16px;
    line-height: 1.8;
}

.t4-rich-text h1,
.t4-rich-text h2,
.t4-rich-text h3,
.t4-rich-text h4 {
    color: #ffffff !important;
    margin-top: 28px;
    margin-bottom: 16px;
}

.t4-rich-text a {
    color: var(--t4-primary);
    text-decoration: underline;
}

.t4-rich-text pre {
    background: #05070a !important;
    border: 1px solid var(--t4-dark-border) !important;
    border-left: 3px solid var(--t4-primary) !important;
    border-radius: var(--t4-radius-sm);
    padding: 16px;
    overflow-x: auto;
}

.t4-rich-text blockquote {
    border-left: 3px solid var(--t4-primary);
    padding-left: 18px;
    color: var(--t4-slate-400);
    font-style: italic;
    margin: 20px 0;
}

.t4-rich-text,
.t4-article-content,
.t4-job-body,
.t4-tiptap-content,
.tiptap-content {
    overflow-wrap: break-word;
    word-break: break-word;
    overflow-x: auto;
}

.t4-rich-text img,
.t4-article-content img,
.t4-job-body img,
.t4-tiptap-content img,
.t4-pd-content .t4-rich-text img,
.t4-sd-content .t4-rich-text img,
.tiptap-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--t4-radius-sm);
}

.t4-rich-text figure,
.t4-article-content figure,
.t4-job-body figure,
.t4-tiptap-content figure,
.tiptap-content figure {
    max-width: 100% !important;
    margin: 20px auto;
}

.t4-rich-text figure img,
.t4-article-content figure img,
.t4-job-body figure img,
.t4-tiptap-content figure img,
.tiptap-content figure img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

.t4-rich-text figcaption,
.t4-article-content figcaption,
.t4-job-body figcaption,
.t4-tiptap-content figcaption,
.tiptap-content figcaption {
    color: var(--t4-slate-400);
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
}

.t4-rich-text iframe,
.t4-rich-text video,
.t4-rich-text embed,
.t4-article-content iframe,
.t4-article-content video,
.t4-article-content embed,
.t4-job-body iframe,
.t4-job-body video,
.t4-tiptap-content iframe,
.t4-tiptap-content video,
.tiptap-content iframe,
.tiptap-content video {
    max-width: 100% !important;
    border-radius: var(--t4-radius-sm);
}

.t4-rich-text table,
.t4-article-content table,
.t4-job-body table,
.t4-tiptap-content table,
.tiptap-content table {
    max-width: 100% !important;
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid var(--t4-dark-border);
}

.t4-rich-text table th,
.t4-rich-text table td,
.t4-article-content table th,
.t4-article-content table td,
.t4-job-body table th,
.t4-job-body table td,
.t4-tiptap-content table th,
.t4-tiptap-content table td,
.tiptap-content table th,
.tiptap-content table td {
    border: 1px solid var(--t4-dark-border);
    padding: 10px 14px;
    text-align: left;
    vertical-align: middle;
}

.t4-rich-text table th p:first-child,
.t4-rich-text table td p:first-child,
.t4-article-content table th p:first-child,
.t4-article-content table td p:first-child,
.t4-job-body table th p:first-child,
.t4-job-body table td p:first-child,
.t4-tiptap-content table th p:first-child,
.t4-tiptap-content table td p:first-child,
.tiptap-content table th p:first-child,
.tiptap-content table td p:first-child {
    margin-top: 0;
}

.t4-rich-text table th p:last-child,
.t4-rich-text table td p:last-child,
.t4-article-content table th p:last-child,
.t4-article-content table td p:last-child,
.t4-job-body table th p:last-child,
.t4-job-body table td p:last-child,
.t4-tiptap-content table th p:last-child,
.t4-tiptap-content table td p:last-child,
.tiptap-content table th p:last-child,
.tiptap-content table td p:last-child {
    margin-bottom: 0;
}

.t4-rich-text table th,
.t4-article-content table th,
.t4-job-body table th,
.t4-tiptap-content table th,
.tiptap-content table th {
    background-color: var(--t4-dark-3);
    color: var(--t4-white);
    font-weight: 600;
}

/* Related items cards */
.t4-related-card {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius);
    overflow: hidden;
    height: 100%;
    transition: var(--t4-transition);
}

.t4-related-card:hover {
    border-color: var(--t4-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 85, 0, 0.2);
}

.t4-related-thumb {
    height: 160px;
    overflow: hidden;
    background: #000;
}

.t4-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.t4-related-card:hover .t4-related-thumb img {
    transform: scale(1.06);
}

.t4-related-info {
    padding: 18px;
}

.t4-related-info h5 {
    font-size: 16px !important;
    margin-bottom: 8px;
}

.t4-related-info h5 a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-related-info h5 a:hover {
    color: var(--t4-primary);
}

.t4-related-info p {
    font-size: 13px;
    color: var(--t4-slate-400);
    margin-bottom: 12px;
}

.t4-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--t4-primary) !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

/* ===== SERVICE LIST PAGE ===== */
.t4-service-list {
    background: var(--t4-void);
    padding: 80px 0;
}

.t4-sl-card {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--t4-transition);
}

.t4-sl-card:hover {
    border-color: var(--t4-primary);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 85, 0, 0.2);
}

.t4-sl-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.t4-sl-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.t4-sl-card:hover .t4-sl-card-img img {
    transform: scale(1.06);
}

.t4-sl-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
    font-weight: 700;
    background: rgba(8, 11, 17, 0.85);
    color: var(--t4-primary);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 85, 0, 0.3);
}

.t4-sl-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.t4-sl-card-body h4 {
    font-size: 19px !important;
    margin-bottom: 10px;
}

.t4-sl-card-body h4 a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-sl-card-body h4 a:hover {
    color: var(--t4-primary);
}

.t4-sl-card-body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--t4-slate-400);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ===== BLOG & POST PAGES ===== */
.t4-blog-area,
.t4-post-detail {
    background: var(--t4-void);
    padding: 80px 0;
}

/* Blog grid items (matches post-list-component) */
.theme4-wrapper .blog_grid_item {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius);
    overflow: hidden;
    transition: var(--t4-transition);
}

.theme4-wrapper .blog_grid_item:hover {
    border-color: var(--t4-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 85, 0, 0.2);
}

.theme4-wrapper .blog_grid_item .blog_img {
    height: 220px;
    overflow: hidden;
    background: #000;
}

.theme4-wrapper .blog_grid_item .blog_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.theme4-wrapper .blog_grid_item:hover .blog_img img {
    transform: scale(1.06);
}

.theme4-wrapper .blog_grid_item .blog_content {
    padding: 24px;
    background: transparent !important;
}

.theme4-wrapper .entry_post_info a {
    color: var(--t4-primary) !important;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.theme4-wrapper .blog_grid_item .blog_content h5 {
    color: #ffffff !important;
    font-size: 18px !important;
    margin-top: 8px;
    margin-bottom: 12px;
}

.theme4-wrapper .blog_grid_item .blog_content a:hover h5 {
    color: var(--t4-primary-light) !important;
}

.theme4-wrapper .blog_grid_item .blog_content p {
    color: var(--t4-slate-400) !important;
    font-size: 14px;
    line-height: 1.6;
}

/* Post Detail Article */
.t4-article {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius-lg);
    overflow: hidden;
}

.t4-article-hero {
    position: relative;
    max-height: 440px;
    overflow: hidden;
    background: #000;
}

.t4-article-hero img {
    width: 100%;
    object-fit: cover;
}

.t4-article-date-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(8, 11, 17, 0.9);
    border: 1px solid rgba(255, 85, 0, 0.4);
    border-radius: var(--t4-radius-sm);
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(8px);
}

.t4-date-day {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--t4-primary);
    line-height: 1;
}

.t4-date-month {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.t4-article-body {
    padding: 40px;
}

.t4-article-title {
    font-size: 36px !important;
    color: #ffffff !important;
    margin-bottom: 24px;
}

.t4-article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--t4-slate-300);
}

.t4-article-content p {
    margin-bottom: 18px;
}

.t4-article-content h1,
.t4-article-content h2,
.t4-article-content h3,
.t4-article-content h4 {
    color: #ffffff !important;
    margin-top: 30px;
    margin-bottom: 16px;
}

.t4-article-content a {
    color: var(--t4-primary);
    text-decoration: underline;
}

.t4-article-content pre {
    background: #05070a !important;
    border: 1px solid var(--t4-dark-border) !important;
    border-left: 3px solid var(--t4-primary) !important;
    border-radius: var(--t4-radius-sm);
    padding: 16px;
    overflow-x: auto;
}

.t4-article-content blockquote {
    border-left: 3px solid var(--t4-primary);
    padding-left: 18px;
    color: var(--t4-slate-400);
    font-style: italic;
    margin: 20px 0;
}

/* Post Sidebar */
.t4-sidebar {
    padding-left: 15px;
}

.t4-sidebar-search {
    margin-bottom: 30px;
}

.t4-search-form {
    display: flex;
    position: relative;
}

.t4-search-form input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: var(--t4-transition);
}

.t4-search-form input:focus {
    border-color: var(--t4-primary);
    box-shadow: 0 0 16px rgba(255, 85, 0, 0.25);
}

.t4-search-form button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--t4-primary);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
}

.t4-sidebar-widget {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius);
    padding: 26px;
    margin-bottom: 28px;
}

.t4-sidebar-title {
    font-size: 18px !important;
    color: #ffffff !important;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.t4-widget-pill {
    width: 4px;
    height: 16px;
    background: var(--t4-primary);
    border-radius: 2px;
}

.t4-recent-post {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.t4-recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.t4-recent-thumb {
    width: 65px;
    height: 65px;
    border-radius: var(--t4-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
}

.t4-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t4-recent-date {
    font-size: 12px;
    color: var(--t4-primary);
    display: block;
    margin-bottom: 4px;
}

.t4-recent-post-info h5 {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 0;
}

.t4-recent-post-info h5 a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-recent-post-info h5 a:hover {
    color: var(--t4-primary);
}

.t4-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.t4-category-list li {
    margin-bottom: 10px;
}

.t4-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius-sm);
    color: var(--t4-slate-300);
    text-decoration: none;
    font-size: 14px;
    transition: var(--t4-transition);
}

.t4-category-list a:hover {
    border-color: var(--t4-primary);
    color: #ffffff;
    background: rgba(255, 85, 0, 0.08);
    transform: translateX(4px);
}

.t4-cat-count {
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 85, 0, 0.15);
    color: var(--t4-primary);
    padding: 2px 8px;
    border-radius: 4px;
}

.t4-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.t4-tag-cloud a {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius-full);
    color: var(--t4-slate-300) !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-tag-cloud a:hover {
    background: var(--t4-primary) !important;
    border-color: var(--t4-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.4);
    transform: translateY(-2px);
}

/* ===== COMMENT COMPONENT STYLING ===== */
.t4-comment-section {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius-lg);
    padding: 36px;
}

.t4-comment-section h3,
.theme4-wrapper .comment-box h3,
.theme4-wrapper .widget_title h3 {
    color: #ffffff !important;
    font-size: 22px !important;
    margin-bottom: 20px;
}

.theme4-wrapper .post_comment,
.theme4-wrapper .comment-content {
    background: var(--t4-dark-1);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.theme4-wrapper .post_author .media-body h5 {
    color: #ffffff !important;
    font-size: 16px !important;
}

.theme4-wrapper .post_author .media-body h6 {
    color: var(--t4-primary) !important;
    font-size: 12px !important;
}

.theme4-wrapper .post_author .media-body p {
    color: var(--t4-slate-300);
}

/* Comment Form */
.theme4-wrapper .get_quote_form .form-control,
.theme4-wrapper .contact_form_box .form-control,
.theme4-wrapper input.form-control,
.theme4-wrapper textarea.form-control {
    background: var(--t4-dark-1) !important;
    border: 1px solid var(--t4-dark-border) !important;
    border-radius: var(--t4-radius-sm) !important;
    color: #ffffff !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
}

.theme4-wrapper input.form-control:focus,
.theme4-wrapper textarea.form-control:focus {
    border-color: var(--t4-primary) !important;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.25) !important;
}

.theme4-wrapper .get_quote_form button[type="submit"],
.theme4-wrapper .contact_form_box button[type="submit"] {
    background: var(--t4-primary-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: var(--t4-radius-full) !important;
    padding: 12px 34px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 18px rgba(255, 85, 0, 0.35) !important;
    cursor: pointer;
    transition: var(--t4-transition);
}

.theme4-wrapper .get_quote_form button[type="submit"]:hover,
.theme4-wrapper .contact_form_box button[type="submit"]:hover {
    box-shadow: 0 8px 30px rgba(255, 85, 0, 0.55) !important;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.t4-footer {
    background: var(--t4-void);
    border-top: 1px solid var(--t4-dark-border);
}

.t4-footer-top {
    padding: 90px 0 60px;
}

.t4-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;
}

.t4-footer-logo-img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 85, 0, 0.3));
}

.t4-footer-brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.t4-footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--t4-slate-400);
    margin-bottom: 22px;
}

.t4-footer-contact p {
    font-size: 13px;
    color: var(--t4-slate-400);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.t4-footer-contact i {
    color: var(--t4-primary);
}

.t4-footer-contact a {
    color: var(--t4-slate-300);
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-footer-contact a:hover {
    color: var(--t4-primary);
}

.t4-footer-title {
    font-size: 16px !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.t4-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--t4-primary);
}

.t4-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.t4-footer-links li {
    margin-bottom: 10px;
}

.t4-footer-links a {
    color: var(--t4-slate-400);
    text-decoration: none;
    font-size: 14px;
    transition: var(--t4-transition);
}

.t4-footer-links a:hover {
    color: var(--t4-primary-light);
    padding-left: 6px;
}

.t4-see-all {
    color: var(--t4-primary) !important;
    font-weight: 600;
}

.t4-footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.t4-copyright {
    font-size: 13px;
    color: var(--t4-slate-500);
    margin: 0;
}

.t4-social-icons {
    display: flex;
    gap: 12px;
}

.t4-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    color: var(--t4-slate-400);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-social-icons a:hover {
    background: var(--t4-primary);
    border-color: var(--t4-primary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.4);
    transform: translateY(-2px);
}

.t4-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.t4-legal-links a {
    font-size: 13px;
    color: var(--t4-slate-500);
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-legal-links a:hover {
    color: var(--t4-primary);
}

/* Home Footer */
.t4-footer-home {
    background: var(--t4-void);
    border-top: 1px solid var(--t4-dark-border);
    position: relative;
}

.t4-tech-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 20px;
}

.t4-divider-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--t4-primary));
}

.t4-tech-divider .t4-divider-line:last-child {
    background: linear-gradient(to left, transparent, var(--t4-primary));
}

.t4-divider-node {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--t4-primary);
    box-shadow: 0 0 10px var(--t4-primary);
}

.t4-footer-home-content {
    padding: 60px 0 70px;
}

.t4-fh-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.t4-fh-logo-img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 85, 0, 0.35));
}

.t4-fh-brand-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.t4-fh-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--t4-slate-400);
    margin-bottom: 18px;
    max-width: 320px;
}

.t4-fh-copyright {
    font-size: 12px;
    color: var(--t4-slate-500);
    margin: 0;
}

.t4-fh-title {
    font-size: 16px !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.t4-fh-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.t4-fh-links li {
    margin-bottom: 10px;
}

.t4-fh-links a {
    color: var(--t4-slate-400);
    text-decoration: none;
    font-size: 14px;
    transition: var(--t4-transition);
}

.t4-fh-links a:hover {
    color: var(--t4-primary-light);
    padding-left: 5px;
}

.t4-fh-social {
    display: flex;
    gap: 12px;
}

.t4-fh-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    color: var(--t4-slate-300);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--t4-transition);
}

.t4-fh-social a:hover {
    background: var(--t4-primary);
    border-color: var(--t4-primary);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(255, 85, 0, 0.5);
    transform: translateY(-2px);
}

/* ===== PAGINATION ===== */
.theme4-wrapper .pagination .page-item .page-link,
.theme4-wrapper .page-numbers,
.theme4-wrapper nav[role="navigation"] button.page-numbers,
.theme4-wrapper .navigation.pagination span.page-numbers,
.theme4-wrapper .navigation.pagination button.page-numbers {
    background: var(--t4-dark-2) !important;
    border: 1px solid var(--t4-dark-border) !important;
    color: var(--t4-slate-300) !important;
    border-radius: var(--t4-radius-sm) !important;
    margin: 0 4px;
    transition: var(--t4-transition);
}

.theme4-wrapper .pagination .page-item.active .page-link,
.theme4-wrapper .page-numbers.current,
.theme4-wrapper nav[role="navigation"] span.page-numbers.current,
.theme4-wrapper .navigation.pagination span.page-numbers.current {
    background: var(--t4-primary) !important;
    border-color: var(--t4-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.4);
}

.theme4-wrapper .pagination .page-item .page-link:hover,
.theme4-wrapper .page-numbers:hover,
.theme4-wrapper nav[role="navigation"] button.page-numbers:hover {
    background: var(--t4-primary-hover) !important;
    border-color: var(--t4-primary) !important;
    color: #ffffff !important;
}

/* ===== CONTACT PAGE OVERRIDES ===== */
.theme4-wrapper .contact_info_area {
    background: var(--t4-void) !important;
}

.theme4-wrapper .design_tab .nav-item .nav-link {
    background: var(--t4-dark-2) !important;
    border: 1px solid var(--t4-dark-border) !important;
    border-radius: var(--t4-radius) !important;
    padding: 22px !important;
    color: var(--t4-slate-300) !important;
    margin-bottom: 16px !important;
    transition: var(--t4-transition);
}

.theme4-wrapper .design_tab .nav-item .nav-link h5 {
    color: #ffffff !important;
    font-size: 18px !important;
    margin-bottom: 10px;
}

.theme4-wrapper .design_tab .nav-item .nav-link.active,
.theme4-wrapper .design_tab .nav-item .nav-link:hover {
    border-color: var(--t4-primary) !important;
    background: var(--t4-dark-3) !important;
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.15) !important;
}

.theme4-wrapper .mapbox {
    border-radius: var(--t4-radius-lg);
    overflow: hidden;
    border: 1px solid var(--t4-dark-border);
}

.theme4-wrapper .contact_form {
    background: var(--t4-dark-2);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius-lg);
    padding: 40px;
    margin-top: 60px;
}

.theme4-wrapper .contact_form h2 {
    color: #ffffff !important;
}

.theme4-wrapper .contact_form_box input,
.theme4-wrapper .contact_form_box textarea,
.theme4-wrapper .text_box input,
.theme4-wrapper .text_box textarea {
    background: var(--t4-dark-1) !important;
    border: 1px solid var(--t4-dark-border) !important;
    border-radius: var(--t4-radius-sm) !important;
    color: #ffffff !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    width: 100% !important;
}

.theme4-wrapper .contact_form_box input::placeholder,
.theme4-wrapper .contact_form_box textarea::placeholder,
.theme4-wrapper .text_box input::placeholder,
.theme4-wrapper .text_box textarea::placeholder {
    color: var(--t4-slate-500) !important;
}

.theme4-wrapper .contact_form_box input:focus,
.theme4-wrapper .contact_form_box textarea:focus,
.theme4-wrapper .text_box input:focus,
.theme4-wrapper .text_box textarea:focus {
    border-color: var(--t4-primary) !important;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.25) !important;
    background: var(--t4-dark-3) !important;
    outline: none !important;
}

.theme4-wrapper .btn_three {
    background: var(--t4-primary-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--t4-radius-full) !important;
    padding: 12px 34px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 18px rgba(255, 85, 0, 0.35) !important;
    transition: var(--t4-transition) !important;
}

.theme4-wrapper .btn_three:hover {
    box-shadow: 0 8px 30px rgba(255, 85, 0, 0.55) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/* Card visibility enforcement */
.t4-product-card,
.t4-service-card,
.t4-partner-card,
.t4-pl-card,
.t4-sl-card,
.t4-related-card {
    visibility: visible !important;
    opacity: 1 !important;
}

/* App Service Item (for fallback views) */
.theme4-wrapper .app_service_area {
    background: var(--t4-void) !important;
}

.theme4-wrapper .app_service_item {
    background: var(--t4-dark-2) !important;
    border: 1px solid var(--t4-dark-border) !important;
    border-radius: var(--t4-radius) !important;
    padding: 28px !important;
    transition: var(--t4-transition) !important;
}

.theme4-wrapper .app_service_item:hover {
    border-color: var(--t4-primary) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 85, 0, 0.2) !important;
    transform: translateY(-4px) !important;
}

.theme4-wrapper .app_service_item h5 {
    color: #ffffff !important;
}

.theme4-wrapper .app_service_item p {
    color: var(--t4-slate-400) !important;
}

.theme4-wrapper .learn_btn_two.c_violet {
    color: var(--t4-primary) !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

/* ===== HISTORY & TIMELINE PAGE ===== */
.theme4-wrapper .process_area {
    background: var(--t4-void) !important;
}

.theme4-wrapper .timeline-4 {
    border-color: var(--t4-dark-border) !important;
}

.theme4-wrapper .timeline-4 .timeline-item .timeline-badge {
    background-color: var(--t4-primary) !important;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.6) !important;
}

.theme4-wrapper .timeline-4 .card {
    background: var(--t4-dark-2) !important;
    border: 1px solid var(--t4-dark-border) !important;
    color: var(--t4-slate-300) !important;
}

.theme4-wrapper .timeline-4 .card h3,
.theme4-wrapper .timeline-4 .card h4,
.theme4-wrapper .timeline-4 .card h5 {
    color: #ffffff !important;
}

/* ===== UNIVERSAL DARK SECTIONS (PREVENTS WHITE PAGES) ===== */
.theme4-wrapper section,
.theme4-wrapper .bg_color,
.theme4-wrapper .sec_pad,
.theme4-wrapper .job_listing_area,
.theme4-wrapper .job_details_area,
.theme4-wrapper .job_apply_area,
.theme4-wrapper .contact_info_area,
.theme4-wrapper .process_area,
.theme4-wrapper .developer_product_area,
.theme4-wrapper .blog_area,
.theme4-wrapper .normal_area,
.theme4-wrapper .job_listing {
    background-color: var(--t4-void) !important;
    background: var(--t4-void) !important;
}

.theme4-wrapper .sec_pad {
    padding: 60px 0 90px !important;
}

/* ===== JOB & RECRUITMENT PAGE ===== */
.t4-job-area {
    background: var(--t4-void) !important;
    position: relative;
}

/* Job tabs - strictly no bottom line */
.theme4-wrapper #job_filter,
.theme4-wrapper .t4-job-tabs,
.theme4-wrapper .t4-job-header,
.theme4-wrapper .job_listing .job_list_tab,
.theme4-wrapper .job_list_tab,
.theme4-wrapper #tab_filter,
.theme4-wrapper .listing_tab {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    border: none !important;
    border-bottom: 0 none !important;
    padding-bottom: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.theme4-wrapper #job_filter:before,
.theme4-wrapper #job_filter:after,
.theme4-wrapper .t4-job-tabs:before,
.theme4-wrapper .t4-job-tabs:after,
.theme4-wrapper .job_list_tab:before,
.theme4-wrapper .job_list_tab:after,
.theme4-wrapper .t4-tab-pill:before,
.theme4-wrapper .t4-tab-pill:after,
.theme4-wrapper .list_item_tab:before,
.theme4-wrapper .list_item_tab:after {
    display: none !important;
    content: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
}

.theme4-wrapper .t4-tab-pill,
.theme4-wrapper .job_list_tab .list_item_tab,
.theme4-wrapper a.list_item_tab {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--t4-dark-2) !important;
    border: 1px solid var(--t4-dark-border) !important;
    color: var(--t4-slate-300) !important;
    border-radius: var(--t4-radius-full) !important;
    padding: 8px 20px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin: 0 !important;
    transition: var(--t4-transition) !important;
}

.theme4-wrapper .t4-tab-pill:before,
.theme4-wrapper .job_list_tab .list_item_tab:before,
.theme4-wrapper a.list_item_tab:before {
    display: none !important;
}

.theme4-wrapper .t4-tab-pill:hover,
.theme4-wrapper .t4-tab-pill.active,
.theme4-wrapper .job_list_tab .list_item_tab.active,
.theme4-wrapper .job_list_tab .list_item_tab:hover,
.theme4-wrapper a.list_item_tab.active,
.theme4-wrapper a.list_item_tab:hover {
    background: var(--t4-primary) !important;
    border-color: var(--t4-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(255, 85, 0, 0.45) !important;
    transform: translateY(-2px) !important;
}

.theme4-wrapper .t4-job-listing-wrap,
.theme4-wrapper .job_listing .listing_tab {
    margin-top: 30px !important;
    margin-bottom: 0 !important;
}

/* Job item cards */
.theme4-wrapper .list_item,
.theme4-wrapper .job_listing .listing_tab .list_item,
.theme4-wrapper .t4-job-listing-wrap .list_item {
    background: var(--t4-dark-1) !important;
    border: 1px solid var(--t4-dark-border) !important;
    border-radius: var(--t4-radius) !important;
    padding: 22px 28px !important;
    margin-bottom: 18px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    transition: var(--t4-transition);
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.theme4-wrapper .list_item:hover,
.theme4-wrapper .job_listing .listing_tab .list_item:hover,
.theme4-wrapper .t4-job-listing-wrap .list_item:hover {
    border-color: var(--t4-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 85, 0, 0.15) !important;
}

.theme4-wrapper .list_item figure,
.theme4-wrapper .job_listing .listing_tab .list_item figure,
.theme4-wrapper .t4-job-listing-wrap .list_item figure {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    margin: 0 22px 0 0 !important;
    border-radius: var(--t4-radius-sm) !important;
    overflow: hidden !important;
    background: var(--t4-dark-2) !important;
    border: 1px solid var(--t4-dark-border) !important;
    flex-shrink: 0 !important;
    float: none !important;
}

.theme4-wrapper .list_item figure a,
.theme4-wrapper .list_item figure img,
.theme4-wrapper .job_listing .listing_tab .list_item figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    float: none !important;
}

.theme4-wrapper .list_item .joblisting_text,
.theme4-wrapper .job_listing .listing_tab .list_item .joblisting_text,
.theme4-wrapper .t4-job-listing-wrap .list_item .joblisting_text {
    display: block !important;
    flex-grow: 1 !important;
    border-left: 1px solid var(--t4-dark-border) !important;
    padding-left: 24px !important;
}

.theme4-wrapper .list_item .job_list_table,
.theme4-wrapper .job_listing .listing_tab .list_item .job_list_table {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.theme4-wrapper .list_item .jobsearch-table-cell,
.theme4-wrapper .job_listing .listing_tab .list_item .jobsearch-table-cell {
    display: block !important;
    line-height: normal !important;
}

.theme4-wrapper .joblisting_text h4 a {
    color: #ffffff !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: var(--t4-transition);
}

.theme4-wrapper .joblisting_text h4 a:hover {
    color: var(--t4-primary) !important;
}

.theme4-wrapper .job_listing .listing_tab .list_item .joblisting_text ul {
    margin-top: 8px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme4-wrapper .job_listing .listing_tab .list_item .joblisting_text ul li {
    font-size: 13px !important;
    color: var(--t4-slate-400) !important;
    border-left: none !important;
    padding: 0 !important;
}

.theme4-wrapper .job_listing .listing_tab .list_item .joblisting_text ul li.g_color {
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.12);
    padding: 2px 10px !important;
    border-radius: var(--t4-radius-full);
    font-weight: 600;
}

.theme4-wrapper .job_listing .listing_tab .list_item .joblisting_text ul li.p_color {
    color: var(--t4-slate-400) !important;
    background: rgba(148, 163, 184, 0.12);
    padding: 2px 10px !important;
    border-radius: var(--t4-radius-full);
}

.theme4-wrapper .apply_btn {
    background: var(--t4-primary-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--t4-radius-full) !important;
    padding: 9px 24px !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--t4-transition);
}

.theme4-wrapper .apply_btn:hover {
    box-shadow: 0 4px 18px rgba(255, 85, 0, 0.45) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* ===== JOB DETAIL PAGE ===== */
.t4-job-detail-card {
    background: var(--t4-dark-1);
    border: 1px solid var(--t4-dark-border);
    border-radius: var(--t4-radius-lg);
    padding: 44px;
    box-shadow: var(--t4-shadow);
}

.t4-job-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 24px;
}

.t4-job-date {
    font-size: 14px;
    color: var(--t4-slate-400);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.t4-badge-open {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    border-radius: var(--t4-radius-full);
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.t4-badge-closed {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    border-radius: var(--t4-radius-full);
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
}

/* Back to jobs / back link - pure crisp white */
.theme4-wrapper .t4-btn-back,
.theme4-wrapper a.t4-btn-back,
.theme4-wrapper a.t4-btn-back:link,
.theme4-wrapper a.t4-btn-back:visited,
.theme4-wrapper a.t4-btn-back span,
.theme4-wrapper a.t4-btn-back i,
.t4-btn-back,
.t4-btn-back:link,
.t4-btn-back:visited,
.t4-btn-back span,
.t4-btn-back i {
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 15px !important;
    transition: var(--t4-transition) !important;
}

.theme4-wrapper .t4-btn-back:hover,
.theme4-wrapper a.t4-btn-back:hover,
.theme4-wrapper a.t4-btn-back:hover span,
.theme4-wrapper a.t4-btn-back:hover i,
.t4-btn-back:hover,
.t4-btn-back:hover span,
.t4-btn-back:hover i {
    color: var(--t4-primary) !important;
    transform: translateX(-3px);
}

/* ===== JOB APPLY PAGE OVERRIDES ===== */
.theme4-wrapper .job_apply_area,
.theme4-wrapper .t4-job-apply-area {
    background-color: var(--t4-void) !important;
    background: var(--t4-void) !important;
}

.theme4-wrapper .job_apply,
.theme4-wrapper .t4-job-apply-card {
    background: var(--t4-dark-1) !important;
    border: 1px solid var(--t4-dark-border) !important;
    border-radius: var(--t4-radius-lg) !important;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45) !important;
}

.theme4-wrapper .t4-upload-box,
.theme4-wrapper .upload_box,
.theme4-wrapper .job_apply .upload_box,
.theme4-wrapper .apply_form .upload_box {
    background: var(--t4-dark-2) !important;
    border: 2px dashed rgba(255, 85, 0, 0.35) !important;
    border-radius: var(--t4-radius) !important;
    color: var(--t4-slate-300) !important;
    padding: 24px !important;
    transition: var(--t4-transition) !important;
}

.theme4-wrapper .t4-upload-box:hover,
.theme4-wrapper .upload_box:hover {
    border-color: var(--t4-primary) !important;
}

.theme4-wrapper .t4-file-input,
.theme4-wrapper .upload_box input[type="file"],
.theme4-wrapper .apply_form .upload_box input[type="file"] {
    background: var(--t4-dark-1) !important;
    border: 1px solid var(--t4-dark-border) !important;
    color: var(--t4-slate-200) !important;
    border-radius: var(--t4-radius-sm) !important;
    padding: 8px 12px !important;
    margin-top: 10px !important;
}

.theme4-wrapper .apply_form input[type="text"],
.theme4-wrapper .apply_form input[type="email"],
.theme4-wrapper .apply_form textarea,
.theme4-wrapper .apply_form .selectpickers,
.theme4-wrapper .job_apply input[type="text"],
.theme4-wrapper .job_apply input[type="email"],
.theme4-wrapper .job_apply textarea,
.theme4-wrapper .t4-input {
    background-color: var(--t4-dark-2) !important;
    background: var(--t4-dark-2) !important;
    border: 1px solid var(--t4-dark-border) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 12px 18px !important;
    height: auto !important;
    min-height: 48px !important;
    box-shadow: none !important;
    transition: var(--t4-transition) !important;
}

.theme4-wrapper .apply_form textarea,
.theme4-wrapper .job_apply textarea,
.theme4-wrapper .t4-textarea {
    min-height: 150px !important;
    resize: vertical !important;
}

.theme4-wrapper .apply_form input::placeholder,
.theme4-wrapper .apply_form textarea::placeholder,
.theme4-wrapper .job_apply input::placeholder,
.theme4-wrapper .job_apply textarea::placeholder,
.theme4-wrapper .t4-input::placeholder {
    color: var(--t4-slate-500) !important;
}

.theme4-wrapper .apply_form input:focus,
.theme4-wrapper .apply_form textarea:focus,
.theme4-wrapper .job_apply input:focus,
.theme4-wrapper .job_apply textarea:focus,
.theme4-wrapper .t4-input:focus {
    background: var(--t4-dark-2) !important;
    border-color: var(--t4-primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.25) !important;
    outline: none !important;
    color: #ffffff !important;
}

.theme4-wrapper .cv-parsing-status {
    background: rgba(255, 85, 0, 0.12) !important;
    border: 1px solid rgba(255, 85, 0, 0.35) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: #ffb076 !important;
    font-size: 13.5px !important;
}

.theme4-wrapper .cv-parsing-status .spinner {
    border: 2px solid #ff5500 !important;
    border-top-color: transparent !important;
}

.theme4-wrapper .cv-parsed-success {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: #34d399 !important;
    font-size: 13.5px !important;
}

.theme4-wrapper .job_apply .btn_three,
.theme4-wrapper .apply_form .btn_three {
    background: var(--t4-primary-gradient) !important;
    color: #ffffff !important;
    border-radius: var(--t4-radius-full) !important;
    border: none !important;
    padding: 12px 32px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 18px rgba(255, 85, 0, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* ===== 404 & ERROR PAGES ===== */
.theme4-wrapper .error_area {
    background: var(--t4-void) !important;
}

.theme4-wrapper .error_area h1,
.theme4-wrapper .error_area h2 {
    color: #ffffff !important;
}

.theme4-wrapper .error_area .about_btn {
    background: var(--t4-primary-gradient) !important;
    color: #ffffff !important;
    border-radius: var(--t4-radius-full) !important;
    box-shadow: 0 4px 18px rgba(255, 85, 0, 0.35) !important;
}

/* ===== PRELOADER OVERRIDE (DISABLED FOR INSTANT PAGE LOAD) ===== */
.theme4-body #preloader,
.theme4-body #ctn-preloader,
.theme4-wrapper #preloader,
.theme4-wrapper #ctn-preloader,
#ctn-preloader.loaded,
.theme4-body .ctn-preloader {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -9999 !important;
}

/* ===== BACK TO TOP BUTTON ===== */
.theme4-body .back-to-top-btn {
    background: var(--t4-primary-gradient) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 16px rgba(255, 85, 0, 0.45) !important;
}

.theme4-body .back-to-top-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.7) !important;
}

/* ===== CHATBOT WIDGET OVERRIDES ===== */
.theme4-body {
    --ai-primary: #ff5500;
    --ai-primary-dark: #080b11;
    --ai-primary-gradient: linear-gradient(135deg, #080b11 0%, #ff5500 100%);
    --ai-bubble-user: linear-gradient(135deg, #d94800 0%, #ff6a00 100%);
    --ai-shadow: rgba(255, 85, 0, 0.25);
    --ai-shadow-hover: rgba(255, 85, 0, 0.45);
    --ai-bg-light: #121824;
    --ai-input-bg: #182030;
    --ai-bubble-bot-bg: #141b29;
    --ai-bubble-bot-text: #f1f5f9;
}

.theme4-body .ai-chat-panel {
    background: var(--t4-dark-1) !important;
    border-left: 1px solid var(--t4-dark-border) !important;
}

.theme4-body .ai-panel-header {
    background: var(--t4-dark-2) !important;
    border-bottom: 1px solid rgba(255, 85, 0, 0.2) !important;
}

.theme4-body .ai-panel-title {
    color: #ffffff !important;
}

.theme4-body .ai-message-bubble--bot {
    background: var(--t4-dark-2) !important;
    color: var(--t4-slate-200) !important;
    border: 1px solid var(--t4-dark-border) !important;
}

.theme4-body .ai-chat-input {
    background: var(--t4-dark-2) !important;
    border: 1px solid var(--t4-dark-border) !important;
    color: #ffffff !important;
}

.theme4-body .ai-chat-input:focus {
    border-color: var(--t4-primary) !important;
}

.theme4-body .ai-send-btn {
    background: var(--t4-primary-gradient) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .t4-hero {
        padding: 120px 0 70px;
    }

    .t4-hero-title {
        font-size: 32px !important;
    }

    .t4-hero-visual {
        margin-top: 40px;
    }

    .t4-nav-right {
        margin-top: 16px;
    }

    .t4-pl-card {
        padding: 20px;
    }

    .t4-pl-content {
        padding: 20px 0 0;
    }

    .t4-pl-image-wrapper {
        height: 240px;
    }

    .t4-sidebar {
        padding-left: 0;
        margin-top: 50px;
    }

    .t4-legal-links {
        justify-content: flex-start;
        margin-top: 14px;
    }
}

@media (max-width: 576px) {
    .t4-hero-title {
        font-size: 28px !important;
    }

    .t4-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .t4-btn-primary,
    .t4-btn-outline {
        justify-content: center;
        width: 100%;
    }

    .t4-hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .t4-stat-divider {
        display: none;
    }

    .t4-breadcrumb-content h1 {
        font-size: 28px !important;
    }

    .t4-article-body {
        padding: 24px;
    }

    .t4-rich-text {
        padding: 24px;
    }

    .t4-article-title {
        font-size: 24px !important;
    }
}

/* Tech stack logo slider (hero) */
.t4-hero-stats.t4-tech-stack {
    display: block;
    min-width: 0;
}

.t4-tech-carousel .t4-tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 84px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 6px;
}

.t4-tech-carousel .t4-tech-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.t4-tech-carousel .t4-tech-item span {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    line-height: 1;
    white-space: nowrap;
}

/* ===== MOBILE MENU (readability fix) ===== */
@media (max-width: 991px) {
    .t4-navbar .navbar-collapse {
        background: var(--t4-dark-1) !important; /* overrides white panel from responsive.css */
        border: 1px solid var(--t4-dark-border);
        border-radius: var(--t4-radius);
        margin-top: 14px;
        padding: 8px 16px 16px;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    }

    .t4-navbar .navbar-nav {
        align-items: stretch;
    }

    .t4-navbar .navbar-nav .nav-item {
        border-bottom: 1px solid var(--t4-dark-border);
    }

    .t4-navbar .navbar-nav > .nav-item:last-child {
        border-bottom: 0;
    }

    .t4-navbar .navbar-nav .nav-link {
        color: #ffffff !important;
        font-size: 15px !important;
        padding: 14px 4px !important;
        text-shadow: none;
        white-space: normal;
    }

    .t4-navbar .navbar-nav .nav-link::after {
        display: none;
    }

    .t4-navbar .navbar-nav .nav-item.active .nav-link,
    .t4-navbar .navbar-nav .nav-link:hover {
        color: var(--t4-primary) !important;
    }

    .t4-navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none;
        box-shadow: none;
        background: transparent !important;
        border: 0 !important;
        border-left: 2px solid var(--t4-primary) !important;
        border-radius: 0;
        margin: 0 0 8px 8px;
        padding: 0;
    }

    .t4-navbar .dropdown-menu .nav-item {
        border-bottom: 0;
    }

    .t4-navbar .dropdown-menu .nav-link {
        color: var(--t4-slate-200) !important;
        font-size: 14px !important;
        padding: 10px 14px !important;
        text-transform: none;
    }
}

/* Mobile menu: neutralise white <ul class="menu"> from responsive.css */
@media (max-width: 991px) {
    .t4-navbar .navbar-nav.menu {
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .t4-navbar .navbar-nav.menu > .nav-item {
        padding-top: 0;
        padding-bottom: 0;
        margin-left: 0;
    }
}

/* ===== MOBILE MENU: language chips, CTA, animation ===== */
.t4-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(3, 5, 9, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.t4-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

@keyframes t4MenuIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

@keyframes t4MenuItemIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
    .t4-navbar .navbar-collapse.show {
        animation: t4MenuIn 0.28s ease-out;
    }

    .t4-navbar .navbar-collapse.show .navbar-nav > .nav-item {
        animation: t4MenuItemIn 0.3s ease-out both;
    }

    .t4-navbar .navbar-collapse.show .navbar-nav > .nav-item:nth-child(2) { animation-delay: 0.04s; }
    .t4-navbar .navbar-collapse.show .navbar-nav > .nav-item:nth-child(3) { animation-delay: 0.08s; }
    .t4-navbar .navbar-collapse.show .navbar-nav > .nav-item:nth-child(4) { animation-delay: 0.12s; }
    .t4-navbar .navbar-collapse.show .navbar-nav > .nav-item:nth-child(5) { animation-delay: 0.16s; }
    .t4-navbar .navbar-collapse.show .navbar-nav > .nav-item:nth-child(6) { animation-delay: 0.20s; }
    .t4-navbar .navbar-collapse.show .navbar-nav > .nav-item:nth-child(n+7) { animation-delay: 0.24s; }

    .t4-navbar .t4-lang-row {
        display: flex;
        gap: 8px;
        padding: 14px 0 4px;
        border-bottom: 0 !important;
    }

    .t4-navbar .t4-lang-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border: 1px solid var(--t4-dark-border);
        border-radius: 999px;
        color: var(--t4-slate-200);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }

    .t4-navbar .t4-lang-chip.is-active {
        border-color: var(--t4-primary);
        color: #ffffff;
        order: -1;
    }

    .t4-navbar .t4-mobile-cta {
        display: flex !important;
        justify-content: center;
        width: 100%;
        margin-top: 14px;
        padding: 13px 20px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .t4-navbar .navbar-collapse.show,
    .t4-navbar .navbar-collapse.show .navbar-nav > .nav-item {
        animation: none;
    }
}

/* Mobile language row spacing (beats `.navbar-nav.menu > .nav-item` padding reset) */
@media (max-width: 991px) {
    .t4-navbar .navbar-nav.menu > .nav-item.t4-lang-row {
        margin-top: 20px;
        padding-top: 0;
    }
}
