/* ==========================================================================
   TollRing Solutions — 5-Star Enterprise Design System (Module 1: Topbar, Nav, Hero)
   Brand Palette: Deep Navy/Slate (#091124, #1E3A5F, #2C5E80) + Crimson Red (#E11D48 / #EE171C)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
    --tr-navy-950: #070d1c;
    --tr-navy-900: #0b1528;
    --tr-navy-800: #132342;
    --tr-steel-700: #244b6b;
    --tr-steel-500: #376586;
    --tr-crimson-600: #dc143c;
    --tr-crimson-500: #ee171c;
    --tr-crimson-400: #fb3640;
    --tr-cyan-400: #38bdf8;
    --tr-slate-50: #f8fafc;
    --tr-slate-100: #f1f5f9;
    --tr-slate-200: #e2e8f0;
    --tr-slate-400: #94a3b8;
    --tr-slate-600: #475569;
    --tr-slate-800: #1e293b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--tr-slate-800);
    background-color: #ffffff;
    max-width: 100% !important;
    overflow-x: hidden;
}

/* Per-Page Tailored Desktop Zoom & Container Alignment */
@media (min-width: 992px) {
    html.tr-page-home {
        zoom: 0.80;
    }
    html.tr-page-service {
        zoom: 0.85;
    }
    html.tr-page-about,
    html.tr-page-careers {
        zoom: 0.85;
    }
    html.tr-page-contact {
        zoom: 0.90;
    }
}

/* Instant GPU-Accelerated Smooth Reveal (Zoom-Aware via IntersectionObserver) */
.wow {
    visibility: visible !important;
    animation: none !important;
}

.wow.tr-reveal-ready {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.wow.tr-reveal-ready.tr-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .wow.tr-reveal-ready {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1380px !important;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

h1, h2, h3, h4, h5, h6, .tr-font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   1. EXECUTIVE TOPBAR
   ========================================================================== */
.tr-topbar {
    display: block !important;
    background: linear-gradient(90deg, var(--tr-navy-950) 0%, var(--tr-navy-900) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
    color: var(--tr-slate-400);
    padding: 0.55rem 0;
    position: relative;
    z-index: 1035;
}

.tr-topbar-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tr-topbar-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tr-gstin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

.tr-gstin-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.tr-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tr-topbar-item i {
    color: var(--tr-crimson-400);
    font-size: 0.8rem;
}

.tr-topbar-item:hover {
    color: #ffffff;
}

/* ==========================================================================
   2. GLASSMORPHIC ENTERPRISE NAVBAR
   ========================================================================== */
.tr-navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 24px -6px rgba(15, 23, 42, 0.06);
    padding: 0.65rem 0;
    transition: all 0.25s ease;
}

.tr-navbar-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.tr-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.25rem 0;
}

.tr-brand-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    background: var(--tr-slate-100);
    border: 1px solid var(--tr-slate-200);
    color: var(--tr-slate-600);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}

.tr-brand img {
    height: 46px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.tr-brand:hover img {
    transform: scale(1.02);
}

.tr-navbar .navbar-nav {
    align-items: center;
    gap: 0.35rem;
}

.tr-navbar .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--tr-slate-800) !important;
    padding: 0.6rem 1rem !important;
    border-radius: 0.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.tr-navbar .nav-link:hover,
.tr-navbar .nav-link.active {
    color: var(--tr-crimson-500) !important;
    background: rgba(238, 23, 28, 0.05);
}

/* Mega-Style Services Dropdown */
.tr-dropdown-menu {
    border: 1px solid var(--tr-slate-200);
    border-radius: 1rem;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 8px 16px -6px rgba(15, 23, 42, 0.08);
    padding: 1rem;
    min-width: 580px;
    background: #ffffff;
    margin-top: 0.5rem !important;
}

.tr-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
}

.tr-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    text-decoration: none;
    color: var(--tr-slate-800);
    transition: all 0.18s ease;
}

.tr-dropdown-item:hover {
    background: var(--tr-slate-50);
    color: var(--tr-crimson-500);
    transform: translateX(3px);
}

.tr-dropdown-icon {
    width: 34px;
    height: 34px;
    border-radius: 0.5rem;
    background: rgba(55, 101, 134, 0.09);
    color: var(--tr-steel-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.tr-dropdown-item:hover .tr-dropdown-icon {
    background: var(--tr-crimson-500);
    color: #ffffff;
}

.tr-dropdown-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.25;
    display: block;
    color: var(--tr-slate-800);
}

.tr-dropdown-sub {
    font-size: 0.73rem;
    color: var(--tr-slate-600);
    display: block;
    margin-top: 0.1rem;
}

.tr-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--tr-crimson-500) 0%, #c8102e 100%);
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 20px -4px rgba(238, 23, 28, 0.4);
    transition: all 0.25s ease;
    margin-left: 0.75rem;
}

.tr-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(238, 23, 28, 0.55);
    color: #ffffff !important;
}

/* ==========================================================================
   3. 5-STAR INTERACTIVE ENTERPRISE HERO SECTION
   ========================================================================== */
.tr-hero {
    position: relative;
    background: radial-gradient(circle at 15% 20%, rgba(55, 101, 134, 0.35) 0%, transparent 45%),
                radial-gradient(circle at 85% 30%, rgba(238, 23, 28, 0.18) 0%, transparent 45%),
                linear-gradient(135deg, #070d1c 0%, #0d1b33 52%, #132747 100%);
    color: #ffffff;
    padding: 5rem 0 4.5rem;
    overflow: hidden;
}

/* Architectural tech grid overlay */
.tr-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 20%, transparent 80%);
    pointer-events: none;
}

.tr-hero-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Slide switcher pills */
.tr-hero-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.3rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.tr-hero-tab {
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.tr-hero-tab.active {
    background: var(--tr-crimson-500);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(238, 23, 28, 0.4);
}

.tr-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tr-cyan-400);
    margin-bottom: 0.85rem;
}

.tr-hero-title {
    font-size: clamp(2.25rem, 4vw, 3.55rem);
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.tr-hero-title .tr-gradient-text {
    background: linear-gradient(90deg, #ffffff 0%, #93c5fd 50%, #fb7185 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tr-hero-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.75rem;
}

.tr-hero-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 580px;
    margin-bottom: 2.25rem;
}

.tr-hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.75rem;
}

.tr-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, var(--tr-crimson-500) 0%, #b91c1c 100%);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.95rem 1.85rem;
    border-radius: 0.75rem;
    text-decoration: none;
    box-shadow: 0 12px 28px -6px rgba(238, 23, 28, 0.5);
    transition: all 0.25s ease;
}

.tr-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -6px rgba(238, 23, 28, 0.65);
    color: #ffffff;
}

.tr-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.95rem 1.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.tr-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Trust metrics strip inside hero */
.tr-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 560px;
}

.tr-metric-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.tr-metric-val span {
    color: var(--tr-crimson-400);
}

.tr-metric-label {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

/* Right Column: Interactive Enterprise Command Center Graphic */
.tr-command-card {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.78) 0%, rgba(15, 23, 42, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
}

.tr-command-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tr-window-dots {
    display: flex;
    gap: 0.4rem;
}

.tr-window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tr-command-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #34d399;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tr-service-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}

.tr-matrix-node {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #f8fafc;
    transition: all 0.22s ease;
}

.tr-matrix-node:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.tr-matrix-icon {
    width: 38px;
    height: 38px;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(55, 101, 134, 0.35), rgba(238, 23, 28, 0.25));
    color: #38bdf8;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tr-matrix-node:hover .tr-matrix-icon {
    background: var(--tr-crimson-500);
    color: #ffffff;
}

.tr-matrix-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    display: block;
}

.tr-matrix-tag {
    font-size: 0.68rem;
    color: #94a3b8;
    display: block;
    margin-top: 0.1rem;
}

.tr-command-footer {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
}

@media (max-width: 991.98px) {
    .tr-dropdown-menu {
        min-width: 100%;
    }
    .tr-dropdown-grid {
        grid-template-columns: 1fr;
    }
    .tr-hero {
        padding: 3.25rem 0;
    }
    .tr-nav-cta {
        margin-left: 0;
        margin-top: 0.75rem;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .tr-service-matrix {
        grid-template-columns: 1fr;
    }
    .tr-hero-metrics {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}


/* ==========================================================================
   4. MODULE 2: ENTERPRISE ABOUT US & SDLC VISUALIZER
   ========================================================================== */
.tr-about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--tr-slate-50) 100%);
    position: relative;
}

.tr-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tr-crimson-500);
    background: rgba(238, 23, 28, 0.07);
    border: 1px solid rgba(238, 23, 28, 0.15);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.tr-section-title {
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    font-weight: 800;
    color: var(--tr-navy-900);
    line-height: 1.18;
    margin-bottom: 1.25rem;
}

.tr-about-lead {
    font-size: 1.05rem;
    line-height: 1.78;
    color: var(--tr-slate-600);
    margin-bottom: 1.85rem;
}

.tr-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2.25rem;
}

.tr-pillar-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid var(--tr-slate-200);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.tr-pillar-card:hover {
    border-color: rgba(238, 23, 28, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -6px rgba(15, 23, 42, 0.08);
}

.tr-pillar-card.tr-pillar-wide {
    grid-column: span 2;
}

.tr-pillar-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    background: rgba(238, 23, 28, 0.09);
    color: var(--tr-crimson-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.tr-pillar-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--tr-navy-900);
    margin: 0;
}

/* Interactive SDLC Graphic Card (Replaces external hotlinked image) */
.tr-sdlc-card {
    background: linear-gradient(155deg, var(--tr-navy-900) 0%, var(--tr-navy-800) 100%);
    border-radius: 1.5rem;
    padding: 2.25rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(11, 21, 40, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tr-sdlc-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(238, 23, 28, 0.28) 0%, transparent 70%);
    pointer-events: none;
}

.tr-sdlc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tr-sdlc-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.tr-sdlc-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.9rem;
    padding: 1rem;
    transition: all 0.22s ease;
}

.tr-sdlc-step:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--tr-cyan-400);
    transform: translateY(-2px);
}

.tr-sdlc-num {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--tr-crimson-400);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.tr-sdlc-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tr-sdlc-name i {
    color: var(--tr-cyan-400);
    font-size: 0.85rem;
}

.tr-sdlc-desc {
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    display: block;
}

.tr-sdlc-banner {
    margin-top: 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 0.85rem;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #e2e8f0;
}

/* ==========================================================================
   5. MODULE 2: 5-STAR ENTERPRISE SERVICES BENTO GRID
   ========================================================================== */
.tr-services-section {
    padding: 6rem 0;
    background: #ffffff;
}

.tr-service-card {
    background: #ffffff;
    border: 1px solid var(--tr-slate-200);
    border-radius: 1.25rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    position: relative;
}

.tr-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(55, 101, 134, 0.35);
    box-shadow: 0 22px 45px -12px rgba(15, 23, 42, 0.14);
}

.tr-service-media {
    position: relative;
    height: 205px;
    background: linear-gradient(135deg, var(--tr-navy-900) 0%, var(--tr-steel-700) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tr-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.tr-service-media.tr-media-contain {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem;
}

.tr-service-media.tr-media-contain img {
    object-fit: contain;
    max-height: 155px;
}

.tr-service-card:hover .tr-service-media img {
    transform: scale(1.06);
}

.tr-service-index {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    background: rgba(11, 21, 40, 0.78);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.tr-service-body {
    padding: 1.75rem 1.65rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.tr-service-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--tr-navy-900) 0%, var(--tr-steel-500) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-top: -3.1rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 10px 20px -5px rgba(11, 21, 40, 0.35);
    border: 3px solid #ffffff;
    position: relative;
    z-index: 3;
    transition: all 0.25s ease;
}

.tr-service-card:hover .tr-service-badge-icon {
    background: linear-gradient(135deg, var(--tr-crimson-500) 0%, #b91c1c 100%);
    transform: scale(1.06);
}

.tr-service-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--tr-navy-900);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.tr-service-desc {
    font-size: 0.925rem;
    line-height: 1.65;
    color: var(--tr-slate-600);
    margin-bottom: 1.35rem;
    flex-grow: 1;
}

.tr-service-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--tr-slate-100);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--tr-steel-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tr-service-link i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tr-slate-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.22s ease;
}

.tr-service-card:hover .tr-service-link {
    color: var(--tr-crimson-500);
}

.tr-service-card:hover .tr-service-link i {
    background: var(--tr-crimson-500);
    color: #ffffff;
    transform: translateX(4px);
}

@media (max-width: 575.98px) {
    .tr-pillars-grid,
    .tr-sdlc-steps {
        grid-template-columns: 1fr;
    }
    .tr-pillar-card.tr-pillar-wide {
        grid-column: span 1;
    }
}


/* ==========================================================================
   6. MODULE 3: WHY CHOOSE US (COMPLETE IT SOLUTION)
   ========================================================================== */
.tr-why-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #070d1c 0%, #0e1e38 60%, #152c4f 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.tr-why-section::before {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(238, 23, 28, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.tr-why-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tr-cyan-400);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.tr-why-title {
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.15rem;
}

.tr-why-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin-bottom: 2.25rem;
}

.tr-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tr-why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.tr-why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(238, 23, 28, 0.5);
    transform: translateY(-3px);
}

.tr-why-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, var(--tr-crimson-500) 0%, #b91c1c 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px -4px rgba(238, 23, 28, 0.45);
}

.tr-why-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.15rem;
    font-weight: 600;
}

.tr-why-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.tr-why-visual {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.55);
    min-height: 430px;
}

.tr-why-visual img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    display: block;
}

.tr-why-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 13, 28, 0.1) 0%, rgba(7, 13, 28, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

/* ==========================================================================
   7. MODULE 3: EXECUTIVE FREE QUOTE SECTION
   ========================================================================== */
.tr-quote-section {
    padding: 6rem 0;
    background: var(--tr-slate-50);
    position: relative;
}

.tr-quote-wrapper {
    background: #ffffff;
    border: 1px solid var(--tr-slate-200);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
}

.tr-quote-sidebar {
    background: linear-gradient(155deg, var(--tr-navy-900) 0%, var(--tr-steel-700) 100%);
    color: #ffffff;
    padding: 3rem 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tr-quote-contact-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tr-quote-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.tr-quote-contact-list li i {
    width: 36px;
    height: 36px;
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--tr-cyan-400);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.tr-quote-form-area {
    padding: 3rem 2.75rem;
}

.tr-input-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tr-slate-800);
    margin-bottom: 0.4rem;
    display: block;
}

.tr-form-control {
    background-color: var(--tr-slate-50) !important;
    border: 1px solid var(--tr-slate-200) !important;
    border-radius: 0.75rem !important;
    padding: 0.85rem 1.1rem !important;
    font-size: 0.925rem !important;
    color: var(--tr-slate-800) !important;
    transition: all 0.2s ease !important;
    height: auto !important;
}

.tr-form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--tr-steel-500) !important;
    box-shadow: 0 0 0 4px rgba(55, 101, 134, 0.12) !important;
}

/* ==========================================================================
   8. MODULE 3: 5-STAR EXECUTIVE FOOTER
   ========================================================================== */
.tr-footer {
    background: #060b16;
    color: #94a3b8;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 4.5rem;
}

.tr-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tr-steel-500) 0%, var(--tr-crimson-500) 50%, var(--tr-cyan-400) 100%);
}

.tr-footer-brand {
    background: #ffffff;
    display: inline-flex;
    padding: 0.55rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
}

.tr-footer-brand img {
    height: 38px;
    width: auto;
}

.tr-footer-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.tr-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.tr-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.tr-footer-links a i {
    font-size: 0.7rem;
    color: var(--tr-crimson-400);
    transition: transform 0.2s ease;
}

.tr-footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.tr-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.tr-footer-contact-item i {
    color: var(--tr-crimson-400);
    margin-top: 0.25rem;
    width: 16px;
}

.tr-footer-map-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1rem;
}

.tr-footer-map-card img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    opacity: 0.9;
}

.tr-footer-bottom {
    margin-top: 3.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: #64748b;
}

@media (max-width: 575.98px) {
    .tr-why-grid {
        grid-template-columns: 1fr;
    }
    .tr-quote-sidebar,
    .tr-quote-form-area {
        padding: 2rem 1.5rem;
    }
}


/* ==========================================================================
   FOOTER PRESENCE CARD — SUBTLE INDIAN TECH STARTUP IDENTITY
   ========================================================================== */
.tr-presence-card {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1rem;
    padding: 1.15rem;
    position: relative;
    overflow: hidden;
}

/* Subtle warm saffron-white-emerald micro-glow at top of card */
.tr-presence-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #ff9933 25%, #ffffff 50%, #138808 75%, transparent 100%);
    opacity: 0.65;
}

.tr-map-visual {
    position: relative;
    padding: 0.25rem 0;
    display: flex;
    justify-content: center;
}

.tr-map-visual img {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
}

.tr-presence-meta {
    margin-top: 0.65rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.tr-presence-hub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #f8fafc;
    white-space: nowrap;
}

.tr-presence-tz {
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
}


/* ==========================================================================
   9. INNER PAGES DESIGN SYSTEM (PAGE HERO, MISSION/VISION, VALUES, CAREERS)
   ========================================================================== */
.tr-page-hero {
    position: relative;
    background: radial-gradient(circle at 20% 25%, rgba(55, 101, 134, 0.35) 0%, transparent 48%),
                radial-gradient(circle at 80% 35%, rgba(238, 23, 28, 0.18) 0%, transparent 48%),
                linear-gradient(135deg, #070d1c 0%, #0d1b33 55%, #132747 100%);
    color: #ffffff;
    padding: 3.25rem 0 3rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tr-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.tr-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.tr-breadcrumb a {
    color: var(--tr-cyan-400);
    text-decoration: none;
}

.tr-page-title {
    font-size: clamp(1.85rem, 2.8vw, 2.55rem);
    font-weight: 800;
    line-height: 1.22;
    color: #ffffff;
    max-width: 960px;
    margin: 0 auto 0.75rem;
}

.tr-page-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.65;
}

/* About Page Story & Mission/Vision Cards */
.tr-story-card {
    background: #ffffff;
    border: 1px solid var(--tr-slate-200);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 12px 32px -10px rgba(15, 23, 42, 0.06);
    height: 100%;
}

.tr-mv-card {
    background: #ffffff;
    border: 1px solid var(--tr-slate-200);
    border-radius: 1.25rem;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 32px -10px rgba(15, 23, 42, 0.06);
    transition: all 0.25s ease;
}

.tr-mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
}

.tr-mv-card.tr-mission {
    border-top: 4px solid var(--tr-crimson-500);
}

.tr-mv-card.tr-vision {
    border-top: 4px solid var(--tr-steel-500);
    background: linear-gradient(160deg, var(--tr-navy-900) 0%, var(--tr-navy-800) 100%);
    color: #ffffff;
}

.tr-mv-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.35rem;
}

.tr-mission .tr-mv-icon {
    background: rgba(238, 23, 28, 0.1);
    color: var(--tr-crimson-500);
}

.tr-vision .tr-mv-icon {
    background: rgba(56, 189, 248, 0.15);
    color: var(--tr-cyan-400);
}

/* Core Values 6-Card Bento Grid */
.tr-value-card {
    background: #ffffff;
    border: 1px solid var(--tr-slate-200);
    border-radius: 1.15rem;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.04);
}

.tr-value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(238, 23, 28, 0.35);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
}

.tr-value-num {
    width: 46px;
    height: 46px;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, var(--tr-navy-900) 0%, var(--tr-steel-500) 100%);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.tr-value-card:hover .tr-value-num {
    background: linear-gradient(135deg, var(--tr-crimson-500) 0%, #b91c1c 100%);
}

.tr-value-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--tr-navy-900);
    margin-bottom: 0.3rem;
}

.tr-value-desc {
    font-size: 0.875rem;
    color: var(--tr-slate-600);
    margin: 0;
    line-height: 1.55;
}


/* ==========================================================================
   10. CAREERS PAGE — ENTERPRISE JOB BOARD & HR DESK
   ========================================================================== */
.tr-job-card {
    background: #ffffff;
    border: 1px solid var(--tr-slate-200);
    border-radius: 1.15rem;
    padding: 1.6rem 1.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.04);
}

.tr-job-card:hover {
    transform: translateY(-3px);
    border-color: rgba(55, 101, 134, 0.4);
    box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.11);
}

.tr-job-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.tr-job-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(55, 101, 134, 0.1) 0%, rgba(238, 23, 28, 0.08) 100%);
    color: var(--tr-steel-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.tr-job-card:hover .tr-job-icon {
    background: linear-gradient(135deg, var(--tr-navy-900) 0%, var(--tr-steel-500) 100%);
    color: #ffffff;
}

.tr-job-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--tr-navy-900);
    margin-bottom: 0.35rem;
}

.tr-job-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: var(--tr-slate-600);
}

.tr-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.tr-job-meta i {
    color: var(--tr-crimson-500);
    font-size: 0.8rem;
}

.tr-job-badge {
    background: var(--tr-slate-100);
    color: var(--tr-slate-800);
    font-weight: 600;
    font-size: 0.74rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
}

.tr-btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--tr-navy-900);
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.22s ease;
}

.tr-job-card:hover .tr-btn-apply {
    background: linear-gradient(135deg, var(--tr-crimson-500) 0%, #b91c1c 100%);
    box-shadow: 0 8px 20px -4px rgba(238, 23, 28, 0.45);
    transform: translateX(2px);
}

/* ==========================================================================
   11. COMPREHENSIVE MOBILE & TABLET RESPONSIVE OPTIMIZATION
   ========================================================================== */

/* Fix Google Map iframe container height on Contact page across all devices */
#contactFormSection .col-lg-6 > .position-relative {
    min-height: 460px;
}

/* Tablet & Mobile Drawer (<= 991.98px) */
@media (max-width: 991.98px) {
    .tr-topbar-inner {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .tr-topbar-group {
        gap: 0.75rem;
    }

    .tr-navbar {
        padding: 0.5rem 0;
    }

    .tr-navbar-container {
        padding: 0 1rem;
        flex-wrap: wrap;
    }

    /* Highly Visible, High-Contrast Mobile Hamburger Menu Button */
    .tr-navbar .navbar-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0 !important;
        width: 44px;
        height: 40px;
        padding: 0;
        background-color: #ffffff !important;
        border: 2px solid var(--tr-navy-900) !important;
        border-radius: 0.6rem !important;
        box-shadow: 0 2px 8px rgba(11, 21, 40, 0.12) !important;
        transition: all 0.2s ease !important;
        cursor: pointer;
        margin-left: auto;
    }

    .tr-navbar .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(238, 23, 28, 0.25) !important;
        outline: none !important;
        border-color: var(--tr-crimson-500) !important;
    }

    .tr-navbar .navbar-toggler:hover {
        background-color: var(--tr-slate-50) !important;
        border-color: var(--tr-crimson-500) !important;
        transform: translateY(-1px);
    }

    /* Bold 3-bar hamburger lines */
    .tr-navbar .navbar-toggler .navbar-toggler-icon {
        display: inline-block !important;
        width: 24px !important;
        height: 24px !important;
        vertical-align: middle;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 100% 100% !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230b1528' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        transition: transform 0.22s ease, background-image 0.22s ease;
    }

    .tr-navbar .navbar-toggler:hover .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ee171c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    /* When menu is active/expanded: Crimson 'X' close icon */
    .tr-navbar .navbar-toggler[aria-expanded="true"] {
        background-color: rgba(238, 23, 28, 0.08) !important;
        border-color: var(--tr-crimson-500) !important;
    }

    .tr-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ee171c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3.2' d='M6 6l18 18M6 24L24 6'/%3e%3c/svg%3e") !important;
    }

    .tr-navbar .navbar-collapse {
        background: #ffffff;
        border-top: 1px solid var(--tr-slate-200);
        margin-top: 0.6rem;
        padding: 0.75rem 0 0.5rem;
        max-height: 78vh;
        overflow-y: auto;
        width: 100%;
    }

    .tr-navbar .navbar-nav {
        align-items: stretch;
        gap: 0.2rem;
    }

    .tr-navbar .nav-link {
        padding: 0.65rem 0.85rem !important;
    }

    .tr-dropdown-menu {
        min-width: 100%;
        box-shadow: none;
        background: var(--tr-slate-50);
        border-color: var(--tr-slate-200);
        padding: 0.55rem;
        margin: 0.25rem 0 0.5rem !important;
    }

    .tr-dropdown-grid {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .tr-dropdown-item {
        padding: 0.55rem 0.65rem;
    }
}

/* Mobile Phones & Small Tablets (<= 767.98px) */
@media (max-width: 767.98px) {
    /* Sleek single-line topbar on mobile phones */
    .tr-topbar {
        padding: 0.38rem 0;
        font-size: 0.72rem;
    }

    .tr-topbar-inner {
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    /* Hide secondary topbar badges on small phones so header stays compact */
    .tr-topbar-group:first-child .tr-gstin-badge:nth-child(2),
    .tr-topbar-group:first-child .tr-topbar-item,
    .tr-topbar-group:last-child .tr-topbar-item:last-child {
        display: none !important;
    }

    .tr-gstin-badge {
        font-size: 0.68rem;
        padding: 0.15rem 0.55rem;
    }

    /* Scale logo and static Remote-First pill so they fit on one row with hamburger */
    .tr-brand {
        gap: 0.45rem;
        max-width: calc(100% - 54px);
    }

    .tr-brand img {
        height: 32px;
    }

    .tr-brand-pill {
        font-size: 0.62rem;
        padding: 0.2rem 0.52rem;
        gap: 0.3rem;
    }

    /* Hero section mobile polish */
    .tr-hero {
        padding: 2.35rem 0 2.65rem;
    }

    .tr-hero-container {
        padding: 0 1rem;
    }

    .tr-hero-switcher {
        display: flex;
        width: 100%;
        margin-bottom: 1.2rem;
    }

    .tr-hero-tab {
        flex: 1;
        justify-content: center;
        font-size: 0.74rem;
        padding: 0.45rem 0.5rem;
        white-space: nowrap;
    }

    .tr-hero-eyebrow {
        font-size: 0.72rem;
        margin-bottom: 0.65rem;
    }

    .tr-hero-title {
        font-size: 1.9rem;
        line-height: 1.18;
        margin-bottom: 0.9rem;
    }

    .tr-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .tr-hero-desc {
        font-size: 0.92rem;
        line-height: 1.62;
        margin-bottom: 1.5rem;
    }

    .tr-hero-actions {
        gap: 0.65rem;
        margin-bottom: 1.75rem;
    }

    .tr-btn-primary,
    .tr-btn-secondary {
        flex: 1 1 calc(50% - 0.35rem);
        justify-content: center;
        padding: 0.8rem 1rem;
        font-size: 0.86rem;
        text-align: center;
    }

    /* Keep 3-column metrics strip horizontal & compact on mobile */
    .tr-hero-metrics {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
        padding-top: 1.25rem;
        text-align: center;
    }

    .tr-metric-val {
        font-size: 1.22rem;
    }

    .tr-metric-label {
        font-size: 0.68rem;
        line-height: 1.25;
    }

    /* Command card & SDLC card mobile spacing */
    .tr-command-card {
        padding: 1.15rem;
        border-radius: 1rem;
    }

    .tr-command-header,
    .tr-sdlc-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tr-command-footer,
    .tr-sdlc-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
    }

    /* Section paddings on mobile */
    .tr-about-section,
    .tr-services-section,
    .tr-why-section,
    .tr-quote-section {
        padding: 3.25rem 0;
    }

    .tr-section-title {
        font-size: 1.65rem;
        margin-bottom: 1rem;
    }

    .tr-about-lead,
    .tr-why-lead {
        font-size: 0.95rem;
        line-height: 1.68;
        margin-bottom: 1.5rem;
    }

    .tr-sdlc-card {
        padding: 1.35rem;
        border-radius: 1.15rem;
    }

    .tr-why-visual,
    .tr-why-visual img {
        min-height: 290px;
    }

    .tr-why-overlay {
        padding: 1.1rem;
    }

    /* Inner page hero & cards */
    .tr-page-hero {
        padding: 2.25rem 0 2rem;
    }

    .tr-breadcrumb {
        font-size: 0.7rem;
        padding: 0.28rem 0.7rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .tr-page-title {
        font-size: 1.65rem;
    }

    .tr-page-subtitle {
        font-size: 0.92rem;
    }

    .tr-story-card,
    .tr-mv-card {
        padding: 1.5rem;
    }

    .tr-value-card {
        padding: 1.25rem;
        gap: 0.9rem;
    }

    /* Careers job cards on mobile */
    .tr-job-card {
        padding: 1.25rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .tr-job-info {
        align-items: flex-start;
        gap: 0.9rem;
    }

    .tr-btn-apply {
        width: 100%;
        justify-content: center;
    }

    /* Contact page map height on mobile */
    #contactFormSection .col-lg-6,
    #contactFormSection .col-lg-6 > .position-relative {
        min-height: 320px !important;
    }

    /* Footer on mobile */
    .tr-footer {
        padding-top: 3rem;
    }

    .tr-footer-bottom {
        margin-top: 2.25rem;
        padding: 1.15rem 0;
        font-size: 0.78rem;
    }

    /* Floating WhatsApp & Back-to-top buttons compact on mobile */
    .float {
        width: 48px !important;
        height: 48px !important;
        bottom: 18px !important;
        left: 16px !important;
        font-size: 24px !important;
    }

    .my-float {
        margin-top: 12px !important;
    }

    .back-to-top {
        right: 16px !important;
        bottom: 18px !important;
        width: 42px !important;
        height: 42px !important;
    }
}

/* Extra-Small Phones (<= 380px, e.g., iPhone SE / compact Android) */
@media (max-width: 380px) {
    .tr-brand img {
        height: 26px;
    }

    .tr-brand-pill {
        font-size: 0.55rem;
        padding: 0.15rem 0.42rem;
    }

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

    .tr-btn-primary,
    .tr-btn-secondary {
        width: 100%;
    }
}
