/* ==========================================================================
   TRP INFOTECH LLP - World-Class Enterprise Light Theme Design System
   Brand: FUTURE READY IT PARTNER
   Engineering Digital Systems That Power Real Organizations
   ========================================================================== */

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

:root {
    /* ----------------------------------------------------------------------
       Core Palette: Richer Warm Light & Deep Contrast Elements (60-70% / 30-40%)
       Avoid pure white across the whole website. No pure black.
       ---------------------------------------------------------------------- */
    --bg-page: #EEF2F7;              /* Warm off-white / light blue-grey (Prevents pure white glare) */
    --bg-surface: #F5F7FA;           /* Soft stone light surface */
    --bg-surface-elevated: #FAFBFD;  /* Richer off-white, avoids harsh white */
    --bg-subtle: #DFE5EC;           /* Soft stone grey */
    --bg-accent-subtle: #E2E8F4;
    --bg-card: #F8FAFD;             /* Calm warm light surface */
    --bg-card-hover: #EEF3F9;
    
    /* Frosted Glass & Semi-Solid Surfaces */
    --glass-bg: rgba(247, 248, 250, 0.94); /* Soft ivory / semi-transparent */
    --glass-border: #CBD5E1;
    --glass-border-hover: rgba(29, 78, 216, 0.45);
    --glass-shadow: 0 14px 32px -8px rgba(11, 19, 43, 0.07), 0 0 0 1px rgba(11, 19, 43, 0.04);
    
    /* Brand Colors (Engineering Blue, Slate & Subtle Teal) */
    --brand-primary: #1D4ED8;       /* Corporate Engineering Blue */
    --brand-primary-hover: #1E40AF;
    --brand-accent: #2563EB;        /* Enterprise Blue */
    --brand-teal: #0D9488;          /* Engineering Subtle Teal */
    --brand-indigo: #3730A3;        /* Deep Indigo */
    --brand-emerald: #059669;       /* Live Status Green */
    --brand-amber: #D97706;         /* Seva / Purpose Warm Amber */
    
    /* Dark Contrast Surfaces (Deep Navy / Charcoal #0B132B / #0F172A - Never Pure Black) */
    --bg-dark-section: #0B132B;
    --bg-dark-surface: #0F172A;
    --bg-dark-elevated: #1E293B;
    --border-dark: #334155;
    --border-dark-subtle: #1E293B;
    --text-dark-heading: #F8FAFC;
    --text-dark-body: #CBD5E1;
    --text-dark-muted: #94A3B8;

    /* Text Hierarchy (Darker Typography & Stronger Contrast) */
    --text-heading: #090E1D;        /* Deep Charcoal Slate - Crisp, Mature, High Contrast */
    --text-body: #1E293B;           /* Deep Slate 800 - Highly Legible & Calm */
    --text-muted: #475569;          /* Slate 600 - Comfortable to eyes */
    --text-subtle: #64748B;         /* Slate 500 */
    --text-brand: #1D4ED8;
    
    /* Borders & Dividers */
    --border-light: #CBD5E1;        /* Defined, crisp stone borders */
    --border-subtle: #D8DFE8;
    --border-focus: #2563EB;
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    
    /* Elevation & Shadows (Sober Enterprise Standards) */
    --shadow-xs: 0 1px 2px rgba(11, 19, 43, 0.04);
    --shadow-sm: 0 1px 3px rgba(11, 19, 43, 0.04), 0 1px 2px rgba(11, 19, 43, 0.02);
    --shadow-md: 0 4px 12px -2px rgba(11, 19, 43, 0.06), 0 2px 6px -1px rgba(11, 19, 43, 0.03);
    --shadow-lg: 0 8px 20px -4px rgba(11, 19, 43, 0.07), 0 3px 8px -2px rgba(11, 19, 43, 0.03);
    --shadow-xl: 0 14px 28px -6px rgba(11, 19, 43, 0.08), 0 6px 14px -3px rgba(11, 19, 43, 0.03);
    --shadow-3d: 0 8px 20px -4px rgba(11, 19, 43, 0.06), 0 0 0 1px rgba(11, 19, 43, 0.03);
    --shadow-glow-blue: 0 4px 12px -2px rgba(29, 78, 216, 0.12);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 250ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Document Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    margin: 0;
}

/* Subtle Geometric Canvas Background (Light Grid Pattern) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* Global Ambient Light Blobs (Disabled to avoid neon flares) */
.ambient-glow-top {
    display: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
    color: var(--text-body);
    margin-bottom: 1.25rem;
    font-size: 1.025rem;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--brand-primary-hover);
}

.text-gradient {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 50%, #0D9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #1D4ED8 0%, #4338CA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.max-w-700 { max-width: 700px; }
.max-w-850 { max-width: 850px; }
.max-w-1000 { max-width: 1000px; }

/* Custom Selection */
::selection {
    background: rgba(2, 132, 199, 0.18);
    color: var(--brand-accent);
}

/* ==========================================================================
   Brand Preloader (Light Theme, Ultra-Fast & Crisp)
   ========================================================================== */
#page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
}

#page-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-brand-badge {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loader-brand-badge span.accent {
    color: var(--brand-primary);
}

.loader-bar {
    width: 180px;
    height: 3px;
    background: #E2E8F0;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    margin-top: 1rem;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #0284C7, #4F46E5);
    border-radius: 99px;
    animation: loaderShift 1s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes loaderShift {
    0% { left: -40%; width: 40%; }
    50% { width: 70%; }
    100% { left: 100%; width: 40%; }
}

/* ==========================================================================
   Navigation Bar (Premium Floating Semi-Solid Light Theme)
   ========================================================================== */
.navbar-trp {
    background: rgba(247, 248, 250, 0.93); /* Soft ivory / semi-transparent */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(203, 213, 225, 0.85);
    padding: 0.85rem 0;
    transition: padding 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease;
    z-index: 1030;
    box-shadow: 0 4px 18px -4px rgba(11, 19, 43, 0.04);
}

.navbar-trp.scrolled {
    background: rgba(244, 246, 249, 0.98);
    box-shadow: 0 8px 24px -6px rgba(11, 19, 43, 0.08);
    padding: 0.55rem 0; /* Slightly more compact on scroll */
    border-bottom-color: rgba(203, 213, 225, 0.95);
}

.navbar-brand img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

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

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.navbar-brand-text .title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.navbar-brand-text .subtitle {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--brand-primary);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.navbar-nav {
    gap: 0.25rem;
}

@media (min-width: 992px) {
    .navbar-nav {
        gap: 0.65rem; /* Generous horizontal spacing */
    }
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500; /* Subtle non-bold standard weight */
    font-size: 0.925rem;
    color: var(--text-body);
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: var(--transition-fast);
    letter-spacing: -0.01em;
}

.navbar-nav .nav-link:hover {
    color: var(--brand-primary);
    background: rgba(29, 78, 216, 0.05);
}

.navbar-nav .nav-link.active {
    color: var(--brand-primary);
    font-weight: 600; /* Subtle active-state indication */
    background: rgba(29, 78, 216, 0.08);
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn-trp-primary {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
    color: #FFFFFF !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.72rem 1.6rem;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-trp-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(29, 78, 216, 0.38);
    color: #FFFFFF !important;
}

.btn-trp-primary:active {
    transform: translateY(0);
}

.btn-trp-outline {
    background: #FFFFFF;
    color: var(--text-heading) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.72rem 1.6rem;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.btn-trp-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary) !important;
    background: rgba(29, 78, 216, 0.04);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-trp-secondary {
    background: var(--bg-subtle);
    color: var(--text-heading);
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.btn-trp-secondary:hover {
    background: #E2E8F0;
    color: var(--text-heading);
}

/* Pill Badges */
.badge-live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.10);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.32rem 0.85rem;
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseRing 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulseRing {
    to {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 99px;
    padding: 0.35rem 1rem;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-heading);
}

.hero-badge .tag {
    color: var(--brand-primary);
}

/* ==========================================================================
   Section Headers & Typography Components
   ========================================================================== */
.section-subtitle {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 680px;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION: 3D TECHNOLOGY ECOSYSTEM
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 150px 0 90px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #F8F9FA 0%, #F1F5F9 100%);
    border-bottom: 1px solid var(--border-light);
}

.hero-ambient-glow {
    display: none;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 4;
}

.hero-title {
    font-size: clamp(2.4rem, 4.6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--text-heading);
}

.hero-desc {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* 3D Ecosystem Hub Container */
.ecosystem-hub-container {
    position: relative;
    width: 100%;
    height: 520px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.ecosystem-stage {
    position: relative;
    width: 480px;
    height: 480px;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Orbital Rings (Light Accent) */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-ring-1 {
    width: 280px;
    height: 280px;
    border: 1.5px dashed rgba(2, 132, 199, 0.25);
    animation: spinClockwise 45s linear infinite;
}

.orbit-ring-2 {
    width: 420px;
    height: 420px;
    border: 1px solid rgba(79, 70, 229, 0.15);
    animation: spinCounterClockwise 65s linear infinite;
}

@keyframes spinClockwise {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinCounterClockwise {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Central TRP Core Hub */
.hub-center-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(2, 132, 199, 0.22), 0 0 0 1px rgba(2, 132, 199, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.hub-center-core:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.hub-center-core img {
    height: 44px;
    width: auto;
    object-fit: contain;
    margin-bottom: 4px;
}

.hub-center-core span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--brand-accent);
    letter-spacing: 0.05em;
}

/* Orbital System Nodes (Frosted Glass Cards) */
.system-node {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5;
    white-space: nowrap;
}

.system-node:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 16px 36px -6px rgba(2, 132, 199, 0.25), 0 0 0 1.5px var(--brand-primary);
    background: #FFFFFF;
    z-index: 20;
}

.system-node-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(2, 132, 199, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.system-node-text h6 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-heading);
}

.system-node-text small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* Orbital Node Positions */
.node-pos-1 { top: 12px; left: 50%; transform: translateX(-50%); }
.node-pos-2 { top: 60px; right: 10px; }
.node-pos-3 { top: 180px; right: -25px; }
.node-pos-4 { bottom: 85px; right: 15px; }
.node-pos-5 { bottom: 15px; left: 50%; transform: translateX(-50%); }
.node-pos-6 { bottom: 85px; left: 15px; }
.node-pos-7 { top: 180px; left: -25px; }
.node-pos-8 { top: 60px; left: 10px; }
.node-pos-9 { top: 130px; left: 180px; }
.node-pos-10 { bottom: 130px; right: 180px; }

/* SVG Connection Lines in Hero */
.ecosystem-svg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.ecosystem-svg-lines line {
    stroke: rgba(2, 132, 199, 0.22);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    animation: dashPulse 25s linear infinite;
}

@keyframes dashPulse {
    to { stroke-dashoffset: -100; }
}

/* ==========================================================================
   TRUST SECTION: "Technology Built for Real Operations"
   ========================================================================== */
.trust-strip-section {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    padding: 3.5rem 0;
    position: relative;
    z-index: 3;
}

.trust-item-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    transition: var(--transition-smooth);
    height: 100%;
}

.trust-item-card:hover {
    background: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 132, 199, 0.3);
}

.trust-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.trust-item-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: var(--text-heading);
}

.trust-item-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.35;
}

/* ==========================================================================
   INTERACTIVE PROJECT SHOWCASE (Sticky Storytelling & 3D Previews)
   ========================================================================== */
.showcase-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    position: relative;
    z-index: 3;
}

.showcase-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    background: #FFFFFF;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}

.showcase-tab-btn {
    background: transparent;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-tab-btn:hover {
    color: var(--text-heading);
    background: var(--bg-subtle);
}

.showcase-tab-btn.active {
    background: var(--brand-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* 3D Browser Mockup Frame */
.browser-mockup {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-3d);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.browser-mockup:hover {
    transform: translateY(-6px);
}

.browser-header {
    background: #F8FAFC;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.traffic-lights {
    display: flex;
    gap: 6px;
}

.traffic-lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.traffic-lights .red { background: #EF4444; }
.traffic-lights .yellow { background: #F59E0B; }
.traffic-lights .green { background: #10B981; }

.browser-url-bar {
    flex-grow: 1;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 4px 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser-body {
    padding: 0;
    position: relative;
    background: #FFFFFF;
    min-height: 380px;
}

.browser-body img {
    width: 100%;
    height: auto;
    display: block;
}

/* 3D Mobile Mockup Frame */
.mobile-mockup {
    width: 270px;
    height: 520px;
    background: #0F172A;
    border-radius: 40px;
    padding: 10px;
    box-shadow: var(--shadow-3d);
    position: relative;
    margin: 0 auto;
    border: 3px solid #CBD5E1;
}

.mobile-screen {
    background: #FFFFFF;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mobile-notch {
    width: 120px;
    height: 20px;
    background: #0F172A;
    border-radius: 0 0 14px 14px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Floating UI Badges & Chips */
.floating-badge-chip {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    animation: floatUpDown 4s ease-in-out infinite alternate;
}

@keyframes floatUpDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* ==========================================================================
   FLAGSHIP DEEP DIVE: KSV HOSTEL & KSV INVENTORY
   ========================================================================== */
.flagship-section {
    padding: 6.5rem 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.flagship-portal-pill {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-fast);
}

.flagship-portal-pill:hover {
    background: #FFFFFF;
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.flagship-portal-pill i {
    color: var(--brand-primary);
    font-size: 1.1rem;
}

.flagship-portal-pill strong {
    font-size: 0.9rem;
    color: var(--text-heading);
    display: block;
}

.flagship-portal-pill span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ==========================================================================
   FARM MANAGEMENT + IoT + PHYSICAL TELEMETRY (Deep Navy Contrast Section)
   ========================================================================== */
.iot-telemetry-section {
    padding: 6.5rem 0;
    background: #0F172A;
    border-top: 1px solid #1E293B;
    border-bottom: 1px solid #1E293B;
    position: relative;
    color: #CBD5E1;
}

.iot-telemetry-section .section-subtitle {
    color: #38BDF8;
}

.iot-telemetry-section .section-title {
    color: #F8FAFC;
}

.iot-telemetry-section .section-desc {
    color: #94A3B8;
}

.telemetry-pipeline-box {
    background: #131E32;
    border: 1px solid #1E293B;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.pipeline-nodes-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 2.5rem 0;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.pipeline-node {
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    flex: 1;
    min-width: 140px;
    position: relative;
    z-index: 4;
    transition: var(--transition-smooth);
}

.pipeline-node:hover {
    border-color: #38BDF8;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(56, 189, 248, 0.25);
}

.pipeline-node-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(13, 148, 136, 0.2);
    color: #2DD4BF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 0.75rem auto;
}

.pipeline-node h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #F8FAFC;
}

.pipeline-node small {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #94A3B8;
}

.pipeline-connector-arrow {
    color: #38BDF8;
    font-size: 1.2rem;
    opacity: 0.8;
    animation: arrowPulse 2s infinite ease-in-out;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* ==========================================================================
   INDUSTRY VERTICALS SECTION (Compact & Clean)
   ========================================================================== */
.industry-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.25rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.industry-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.35);
}

.industry-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(29, 78, 216, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.industry-card:hover .industry-icon-wrapper {
    background: var(--brand-primary);
    color: #FFFFFF;
}

.industry-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-heading);
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* ==========================================================================
   SERVICES SECTION (Compact, Balanced Proportions, Sober)
   ========================================================================== */
.service-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.25rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.35);
}

.service-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(29, 78, 216, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.service-card:hover .service-card-icon {
    background: var(--brand-primary);
    color: #FFFFFF;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-heading);
    line-height: 1.35;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.service-card-link:hover {
    color: var(--brand-primary-hover);
    transform: translateX(2px);
}

/* ==========================================================================
   CLIENT TESTIMONIALS & REVIEWS SECTION (Sober & Compact)
   ========================================================================== */
.testimonial-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.35rem 1.35rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.35);
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.75rem;
    color: rgba(148, 163, 184, 0.2);
}

.testimonial-review-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.testimonial-author-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--brand-primary);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.testimonial-author-box h6 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-heading);
}

.testimonial-author-box p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #059669;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   PORTFOLIO & COMPACT PROJECT TILES (16:10 Proportions)
   ========================================================================== */
.portfolio-filter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.portfolio-filter-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.825rem;
    padding: 0.4rem 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: var(--transition-fast);
}

.portfolio-filter-btn:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    background: rgba(29, 78, 216, 0.04);
}

.portfolio-filter-btn.active {
    background: var(--brand-primary);
    color: #FFFFFF;
    border-color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.25);
}

/* Compact Premium Project Tile */
.project-tile-compact {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-tile-compact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.35);
}

/* Controlled 16:10 Aspect Ratio Thumbnail */
.project-tile-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0B132B;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
}

.project-tile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-tile-compact:hover .project-tile-thumb img {
    transform: scale(1.03);
}

.project-tile-backdrop {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #F8FAFC;
    padding: 1.25rem;
    text-align: center;
    background: radial-gradient(circle at 50% 45%, #1E293B 0%, #0B132B 100%);
    position: relative;
}

.project-tile-backdrop i {
    font-size: 2rem;
    color: #60A5FA;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.project-tile-backdrop .tile-system-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #94A3B8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.project-tile-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.project-tile-status {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.project-tile-body {
    padding: 1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.project-tile-title {
    font-size: 1.025rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.project-tile-summary {
    font-size: 0.835rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tile-footer {
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.project-card-box {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.project-card-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.35);
}

.project-category-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(29, 78, 216, 0.08);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    display: inline-block;
}

/* ==========================================================================
   CASE STUDY DETAIL PAGE STYLES
   ========================================================================== */
.case-study-hero {
    padding: 170px 0 80px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.case-study-content-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.75rem 1.75rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.case-study-content-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.case-study-content-card .card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(2, 132, 199, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.challenge-icon {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #EF4444 !important;
}

.solution-icon {
    background: rgba(16, 185, 129, 0.08) !important;
    color: #059669 !important;
}

/* Feature & Module Grid */
.feature-bullet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.feature-bullet-item {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-bullet-item i {
    color: #059669;
    font-size: 0.95rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-bullet-item span {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-heading);
}

/* Chapter Kicker & Editorial Narrative Elements */
.chapter-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-primary);
    background: rgba(2, 132, 199, 0.07);
    border: 1px solid rgba(2, 132, 199, 0.16);
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
}

.chapter-kicker.kicker-danger {
    color: #DC2626;
    background: rgba(239, 68, 68, 0.07);
    border-color: rgba(239, 68, 68, 0.18);
}

.chapter-kicker.kicker-warning {
    color: #D97706;
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
}

.chapter-kicker.kicker-success {
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.callout-narrative-box {
    background: #FAFAFA;
    border-left: 4px solid var(--brand-primary);
    border-radius: 0 14px 14px 0;
    padding: 1.35rem 1.6rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
}

.callout-narrative-box.callout-danger {
    background: #FEF2F2;
    border-left-color: #EF4444;
}

.callout-narrative-box.callout-warning {
    background: #FFFBEB;
    border-left-color: #F59E0B;
}

/* Module Editorial Grid */
.module-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.module-editorial-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.35rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.module-editorial-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.module-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.module-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(2, 132, 199, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.module-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.3;
}

.module-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.module-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-light);
    font-size: 0.72rem;
    font-family: var(--font-mono);
}

/* Measurable Outcome Metric Cards */
.outcome-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.outcome-metric-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.outcome-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.outcome-metric-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(2, 132, 199, 0.3);
}

.outcome-metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.outcome-metric-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

/* Sidebar Meta Box */
.case-study-sidebar-box {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.sidebar-meta-row {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-meta-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-meta-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.25rem;
}

.sidebar-meta-val {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-heading);
}

/* Tech Tag Pills */
.tech-pill {
    display: inline-block;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-heading);
    font-weight: 500;
    margin: 0.25rem;
}

/* ==========================================================================
   TEAM & FOUNDERS (Light Theme 3D Profile Cards)
   ========================================================================== */
.team-profile-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 22px;
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.team-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(2, 132, 199, 0.35);
}

.team-avatar-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284C7 0%, #4F46E5 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.25);
    border: 3px solid #FFFFFF;
}

.team-profile-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-heading);
}

.team-profile-card .team-role {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 1rem;
    display: block;
}

.team-profile-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.team-social-links {
    display: flex;
    gap: 0.5rem;
}

.team-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.team-social-btn:hover {
    background: var(--brand-primary);
    color: #FFFFFF;
    border-color: var(--brand-primary);
}

/* ==========================================================================
   FORMS & INPUTS (Light Theme Crisp Enterprise)
   ========================================================================== */
.form-control-trp {
    background: #FFFFFF;
    border: 1.5px solid var(--border-light);
    color: var(--text-heading);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control-trp:focus {
    background: #FFFFFF;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    color: var(--text-heading);
    outline: none;
}

.form-control-trp::placeholder {
    color: var(--text-subtle);
}

.form-label-trp {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
    display: block;
}

/* ==========================================================================
   FOOTER (Light Theme Enterprise)
   ========================================================================== */
.footer-trp {
    background: #0F172A;
    border-top: 1px solid #1E293B;
    padding: 5rem 0 2rem 0;
    position: relative;
    z-index: 3;
    color: #CBD5E1;
}

.footer-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.footer-link {
    color: #94A3B8;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 0.65rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: #60A5FA;
    transform: translateX(3px);
}

.footer-statutory-box {
    background: #131E32;
    border: 1px solid #1E293B;
    border-radius: 14px;
    padding: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 2rem;
    margin-top: 4rem;
    color: #64748B;
    font-size: 0.85rem;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #1E293B;
    border: 1px solid #334155;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.social-icon-btn:hover {
    background: #1D4ED8;
    color: #FFFFFF;
    border-color: #1D4ED8;
    transform: translateY(-2px);
}

/* ==========================================================================
   OUR STORY SECTION & INTERACTIVE VERTICAL TIMELINE
   ========================================================================== */
.story-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.story-lead-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(29, 78, 216, 0.08);
    color: var(--brand-primary);
    border: 1px solid rgba(29, 78, 216, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.95rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.story-quote-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--brand-primary);
    border-radius: 10px;
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-sm);
    margin-top: 1.5rem;
}

.story-mindset-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.story-mindset-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.925rem;
}

.story-mindset-list li:last-child {
    margin-bottom: 0;
}

.story-mindset-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 700;
}

.story-timeline {
    position: relative;
    padding-left: 2.25rem;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 16px;
    bottom: 24px;
    left: 14px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-primary) 0%, rgba(37, 99, 235, 0.4) 65%, rgba(13, 148, 136, 0.25) 100%);
}

.story-timeline-item {
    position: relative;
    margin-bottom: 1.25rem;
    transition: transform 0.2s ease;
}

.story-timeline-item:last-child {
    margin-bottom: 0;
}

.story-timeline-marker {
    position: absolute;
    left: -2.25rem;
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 2px solid var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
    z-index: 2;
    transition: all 0.2s ease;
}

.story-timeline-item:hover .story-timeline-marker {
    background: var(--brand-primary);
    color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.2);
}

.story-timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.story-timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.35);
}

.story-timeline-card .milestone-step {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    background: rgba(29, 78, 216, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.35rem;
}

/* ==========================================================================
   TECHNOLOGY WITH PURPOSE / DIGITAL SEVA (Sober Enterprise)
   ========================================================================== */
.seva-section {
    background: var(--bg-page);
    position: relative;
}

.seva-card {
    background: linear-gradient(135deg, #0B132B 0%, #111D3E 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 2.25rem;
    color: #F8FAFC;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.seva-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.seva-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 6px;
    padding: 0.3rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.seva-preview-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 1.25rem;
    backdrop-filter: blur(8px);
}

.seva-btn-visit {
    background: #F59E0B;
    color: #0B132B !important;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.seva-btn-visit:hover {
    background: #D97706;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   REAL DEPLOYMENTS GRID
   ========================================================================== */
.real-deployment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.real-deployment-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.35);
}

/* ==========================================================================
   REDESIGNED 4-COLUMN CORPORATE FOOTER
   ========================================================================== */
.footer-corporate {
    background: #0B132B;
    border-top: 1px solid #1E293B;
    padding: 3.5rem 0 1.75rem 0;
    color: #CBD5E1;
    position: relative;
    z-index: 3;
}

.footer-corporate-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.footer-corporate-tagline {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: #60A5FA;
    letter-spacing: 0.08em;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: #FFFFFF;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-corporate-link {
    color: #94A3B8;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.55rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-corporate-link:hover {
    color: #FFFFFF;
    transform: translateX(2px);
}

.footer-corporate-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 1.5rem;
    margin-top: 2.75rem;
    color: #64748B;
    font-size: 0.825rem;
}

/* ==========================================================================
   ENTERPRISE CTA BANNER (Deep Navy Contrast Surface)
   ========================================================================== */
.cta-banner-trp {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    color: #CBD5E1;
    box-shadow: var(--shadow-md);
}

.cta-banner-trp h2 {
    color: #F8FAFC;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cta-banner-trp p {
    color: #94A3B8;
    font-size: 1rem;
    max-width: 640px;
}

/* ==========================================================================
   STATUTORY CORPORATE PROFILE & GOVERNANCE
   ========================================================================== */
.corporate-profile-section {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    padding: 3.5rem 0;
}

.statutory-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.statutory-meta-card {
    background: #F8F9FA;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    transition: var(--transition-smooth);
}

.statutory-meta-card:hover {
    background: #FFFFFF;
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.statutory-meta-card .label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.statutory-meta-card .value {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

/* ==========================================================================
   LEADERSHIP & DESIGNATED PARTNERS CARDS (Compact & Sober)
   ========================================================================== */
.partner-profile-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.partner-profile-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 78, 216, 0.3);
}

.partner-avatar-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.partner-avatar-img {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    border: 1.5px solid #E2E8F0;
}

.partner-avatar-fallback {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #E2E8F0;
}

.partner-badge-pill {
    background: rgba(29, 78, 216, 0.08);
    color: #1D4ED8;
    border: 1px solid rgba(29, 78, 216, 0.2);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    display: inline-block;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   REGISTERED CORPORATE OFFICE CARD
   ========================================================================== */
.office-location-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   CUSTOM LIGHT CURSOR (Desktop Only)
   ========================================================================== */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--brand-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear;
}

.custom-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(2, 132, 199, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease, background 0.2s ease;
}

.custom-cursor-follower.cursor-hover {
    width: 48px;
    height: 48px;
    background: rgba(2, 132, 199, 0.08);
    border-color: var(--brand-primary);
}

@media (pointer: coarse), (max-width: 991px) {
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }
}

/* ==========================================================================
   TRP Origin Monogram Visual & Subtle Animation
   ========================================================================== */
.trp-origin-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.trp-monogram-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.trp-letter-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    min-width: 82px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.trp-letter-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.12);
}

.trp-letter-card .trp-letter {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.trp-letter-card .trp-partner-name {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-heading);
    white-space: nowrap;
}

.trp-letter-card .trp-partner-sub {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.trp-plus-symbol,
.trp-equal-symbol {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #94A3B8;
    user-select: none;
    line-height: 1;
}

.trp-result-badge {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
    color: #FFFFFF;
    border-radius: 12px;
    padding: 0.65rem 1.15rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
    position: relative;
    overflow: hidden;
    animation: trpPulseGlow 3.5s ease-in-out infinite;
}

.trp-result-badge .trp-result-initials {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.1;
}

.trp-result-badge .trp-result-entity {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-mono);
    text-transform: uppercase;
}

/* Subtle, premium sequential highlight animation */
@keyframes trpLetterHighlight {
    0%, 100% {
        border-color: var(--border-light);
        background: var(--bg-surface);
    }
    20%, 35% {
        border-color: var(--brand-primary);
        background: rgba(29, 78, 216, 0.06);
        box-shadow: 0 4px 14px rgba(29, 78, 216, 0.15);
    }
}

.trp-letter-card.card-t {
    animation: trpLetterHighlight 6s ease-in-out infinite;
    animation-delay: 0s;
}

.trp-letter-card.card-r {
    animation: trpLetterHighlight 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

.trp-letter-card.card-p {
    animation: trpLetterHighlight 6s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes trpPulseGlow {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
    }
    50% {
        box-shadow: 0 6px 20px rgba(29, 78, 216, 0.45);
    }
}

@media (max-width: 576px) {
    .trp-monogram-flow {
        gap: 0.35rem;
    }
    .trp-letter-card {
        min-width: 68px;
        padding: 0.5rem 0.6rem;
    }
    .trp-letter-card .trp-letter {
        font-size: 1.4rem;
    }
    .trp-letter-card .trp-partner-name {
        font-size: 0.72rem;
    }
    .trp-result-badge {
        padding: 0.5rem 0.85rem;
    }
    .trp-result-badge .trp-result-initials {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS (320px to 1920px)
   ========================================================================== */

/* Universal Touch Targets & Form Ergonomics */
.btn-trp-primary,
.btn-trp-outline,
.btn-trp-secondary,
.btn,
.navbar-toggler,
.form-control,
.form-select,
.portfolio-filter-btn {
    min-height: 44px;
}

/* Prevent horizontal overflow across all viewport widths */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 50px 0;
    }

    /* Mobile Navbar Card Style */
    .navbar-collapse {
        background: #FFFFFF;
        border: 1px solid var(--border-light);
        border-radius: 16px;
        box-shadow: 0 16px 36px -8px rgba(11, 19, 43, 0.12);
        padding: 1.25rem;
        margin-top: 0.75rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        margin-bottom: 0.25rem;
        display: flex;
        align-items: center;
    }

    .ecosystem-hub-container {
        height: 420px;
    }
    
    .ecosystem-stage {
        width: 360px;
        height: 360px;
    }
    
    .orbit-ring-1 { width: 220px; height: 220px; }
    .orbit-ring-2 { width: 340px; height: 340px; }
    
    .pipeline-nodes-wrapper {
        flex-direction: column;
    }
    
    .pipeline-connector-arrow {
        transform: rotate(90deg);
    }
}

/* Tablet and Mobile Input Ergonomics (Prevent iOS Safari auto-zoom) */
@media (max-width: 767px) {
    input, select, textarea, .form-control, .form-select {
        font-size: 16px !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 40px 0;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem) !important;
    }

    /* Stack hero CTA buttons on mobile */
    .hero-content .d-flex.gap-3 {
        flex-direction: column !important;
        width: 100%;
        gap: 0.75rem !important;
    }

    .hero-content .d-flex.gap-3 .btn,
    .hero-content .d-flex.gap-3 a {
        width: 100% !important;
        justify-content: center;
    }
    
    .ecosystem-hub-container {
        height: 320px;
        overflow: hidden;
    }
    
    .ecosystem-stage {
        width: 270px;
        height: 270px;
    }
    
    .orbit-ring-1 { width: 160px; height: 160px; }
    .orbit-ring-2 { width: 250px; height: 250px; }
    
    .hub-center-core {
        width: 84px;
        height: 84px;
    }
    
    .hub-center-core img {
        height: 24px;
    }
    
    .system-node {
        padding: 4px 8px;
    }
    
    .system-node-text h6 {
        font-size: 0.68rem;
    }

    .system-node-icon {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
    
    .case-study-hero {
        padding: 110px 0 40px 0;
    }

    .case-study-hero h1 {
        font-size: clamp(1.8rem, 6.5vw, 2.5rem) !important;
    }
    
    .case-study-content-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }

    .module-editorial-grid {
        grid-template-columns: 1fr;
    }

    .outcome-metric-grid {
        grid-template-columns: 1fr;
    }

    .feature-bullet-grid {
        grid-template-columns: 1fr;
    }

    .callout-narrative-box {
        padding: 1rem 1.15rem;
    }

    /* Portfolio filter buttons horizontal scroll on small mobile */
    .portfolio-filter-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .portfolio-filter-nav::-webkit-scrollbar {
        display: none;
    }
    .portfolio-filter-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Mobile Section Spacing & Card Ergonomics (48px-60px padding) */
    section.py-5 {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
    .container.py-4 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .section-title {
        font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 0.5rem !important;
    }
    .section-desc {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Compact Mobile Cards (16px-18px padding) */
    .service-card,
    .industry-card,
    .project-card-box,
    .testimonial-card,
    .partner-profile-card {
        padding: 1rem 1.15rem !important;
        border-radius: 8px !important;
    }
    
    .project-tile-body {
        padding: 0.9rem 1rem !important;
    }

    .project-tile-thumb {
        aspect-ratio: 16 / 10 !important;
    }

    .story-timeline {
        padding-left: 1.75rem !important;
    }
    .story-timeline::before {
        left: 10px !important;
    }
    .story-timeline-marker {
        left: -1.75rem !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 0.68rem !important;
    }
    .story-timeline-card {
        padding: 0.85rem 1rem !important;
    }

    .footer-corporate {
        padding: 2.5rem 0 1.25rem 0 !important;
    }
    .footer-corporate-bottom {
        margin-top: 1.75rem !important;
        padding-top: 1.25rem !important;
        gap: 0.75rem;
    }
}


