/* VIJIM.AI â€” ENTERPRISE AI SYSTEMS ARCHITECT
   Design System: Executive Minimal
   Reference: McKinsey Â· Stripe Â· Linear
   SCCB-PS-01 Annexure-A: No background images. Solid surfaces only.
*/

:root {
    /* Brand */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --accent-light: #fbbf24;

    /* Light Mode Surfaces — Alternating */
    --bg-primary: #ffffff;
    /* Odd sections  */
    --bg-secondary: #f3f4f6;
    /* Even sections */
    --bg-tertiary: #f5f5f5;

    /* Light Mode Typography */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;

    /* Light Mode Borders */
    --border: #e5e7eb;

    /* Shadows — layered for enterprise depth */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-layered: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03), 0 12px 24px rgba(0, 0, 0, 0.02);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --border-glass: rgba(226, 232, 240, 0.8);
}

/* DARK MODE â€” Executive Surface System */
[data-theme="dark"] {
    /* Alternating Dark Surfaces */
    --bg-primary: #111111;
    /* Odd sections  â€” Charcoal */
    --bg-secondary: #000000;
    /* Even sections â€” Pure Black */
    --bg-tertiary: #1a1a1a;
    --bg-card: #1a1a1a;
    --bg-card-elevated: #1a1a1a;
    --bg-card-hover: #222222;

    /* Dark Mode Typography */
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --text-light: #6b7280;
    --text-body: #9ca3af;
    --text-muted: #6b7280;

    /* Dark Mode Borders */
    --border: #222222;
    --border-hover: #333333;
    --border-soft: #1f1f1f;
    --border-divider: #1a1a1a;

    /* Accent â€” muted in dark mode */
    --accent: #d97706;
    --accent-bg: rgba(217, 119, 6, 0.08);
    --accent-border: rgba(217, 119, 6, 0.3);
}

/* ========================================
   BASE â€” Clean surfaces, no decorative bg
   ======================================== */
body {
    background-color: var(--bg-primary);
    background-image: none;
}

[data-theme="dark"] body {
    background-color: var(--bg-primary);
    background-image: none;
}

/* HERO â€” subtle neutral gradient only (Annexure-A Â§6) */
.hero-section {
    background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(160deg, #141414 0%, #0a0a0a 100%) !important;
}

/* Alternating section backgrounds â€” LIGHT MODE */
#about {
    background-color: var(--bg-primary);
    --item-bg: var(--bg-primary);
}

#certifications {
    background-color: var(--bg-secondary);
    --item-bg: var(--bg-secondary);
}

#career {
    background-color: var(--bg-primary);
    --item-bg: var(--bg-primary);
}

#ai-journey {
    background-color: var(--bg-secondary);
    --item-bg: var(--bg-secondary);
}

#skills {
    background-color: var(--bg-primary);
    --item-bg: var(--bg-primary);
}

#processes {
    background-color: var(--bg-secondary);
    --item-bg: var(--bg-secondary);
}

#gallery {
    background-color: var(--bg-primary);
    --item-bg: var(--bg-primary);
}

#value {
    background-color: var(--bg-secondary);
    --item-bg: var(--bg-secondary);
}

#achievements {
    background-color: var(--bg-primary);
    --item-bg: var(--bg-primary);
}

#contact {
    background-color: var(--bg-secondary);
    --item-bg: var(--bg-secondary);
}

/* Alternating section backgrounds â€” DARK MODE */
[data-theme="dark"] #about {
    background-color: var(--bg-primary);
}

[data-theme="dark"] #certifications {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] #career {
    background-color: var(--bg-primary);
}

[data-theme="dark"] #ai-journey {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] #skills {
    background-color: var(--bg-primary);
}

[data-theme="dark"] #processes {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] #gallery {
    background-color: var(--bg-primary);
}

[data-theme="dark"] #value {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] #achievements {
    background-color: var(--bg-primary);
}

[data-theme="dark"] #contact {
    background-color: var(--bg-secondary);
}

/* Navbar â€” solid white light / solid dark */
.navbar {
    background-size: auto;
    background-position: unset;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* THIN HAIRLINE SCROLLBAR */
::-webkit-scrollbar {
    width: 2px;
    /* Hairline thin */
    height: 2px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Use NO chevrons/arrows (clean hairline only) */
::-webkit-scrollbar-button {
    display: none;
    height: 0;
    width: 0;
}

/* Disable background bar track completely to keep it looking floating */
::-webkit-scrollbar-button:vertical:start:increment,
::-webkit-scrollbar-button:vertical:end:decrement {
    display: none;
}

body {
    overflow-x: hidden;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.section-title,
.project-showcase-title,
.ai-stage-title,
.pillar-title {
    font-family: 'Sora', sans-serif !important;
    font-weight: 700;
}

/* TYPOGRAPHY SYSTEM */
h1 {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 16px;
}

h2 {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.3px;
    line-height: 1.3;
    margin-bottom: 12px;
}

h3 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.2px;
    line-height: 1.4;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

/* UNIFIED HERO — Approach 1: Hero + About Merged */
.hero-section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
    padding-top: 56px;
    /* Offset for fixed navbar */
    box-sizing: border-box;
}

/* Line Numbers Decor */
.hero-line-numbers {
    position: absolute;
    left: 15px;
    top: 56px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; REMOVED FOR FIXED HEIGHT */
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    font-weight: 600;
    color: #000000;
    opacity: 0.9;
    user-select: none;
    z-index: 10;
    border-left: 1px solid #000000;
    padding-left: 10px;
    padding-top: 15px;
    /* Alignment shift */
}

.hero-line-numbers span {
    display: block;
    height: 46px;
    /* Row height optimized for viewport fit */
    line-height: 46px;
}

[data-theme="dark"] .hero-line-numbers {
    color: var(--text-muted);
    border-color: var(--border-soft);
}

/* Top Bar: Executive Statement */
.hero-top-bar {
    padding: 0;
    margin-top: 46px;
    /* Reverted shift — starts at Row 02 */
    flex-shrink: 0;
}

/* Vertical Left-Aligned Stack: Anchored to the main content axis */
.hero-top-bar .container {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0 15px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}


.hero-about-title {
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: #94a3b8; /* Light Slate */
    font-weight: 400;
    margin-bottom: 8px;
    display: block;
    z-index: 1;
}

.hero-exec-statement {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    color: #475569;
    font-style: italic;
    margin-left: 0;
    line-height: 1.6;
    z-index: 1;
    opacity: 0.8;
}

[data-theme="dark"] .hero-exec-statement {
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    border: none;
}

/* Metrics Strip — Anchored to Row 11 (2 rows up) */
.hero-metrics-strip {
    margin-top: -40px !important; /* Calibrated to '1 line up' without collapsing/overlapping */
    padding: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.hero-section .container {
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100%;
    max-width: 1200px;
}

/* Keep ABOUT/statement on the same left gutter as hero content */
.hero-section .hero-top-bar .container {
    padding: 0 15px !important;
}

/* Ambient light spots â€” only in dark mode */
.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: transparent;
    border-radius: 50%;
    pointer-events: none;
}

[data-theme="dark"] .hero-section::before {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: transparent;
    border-radius: 50%;
    pointer-events: none;
}

[data-theme="dark"] .hero-section::after {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
}

/* CONVERT HERO CONTAINER TO STRICT FLEXBOX (Nuclear Override) */
.hero-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    /* VERTICAL CENTER */
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: clamp(28px, 5vw, 88px) !important;
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    /* MATCHES METRICS CONTAINER PADDING */
    overflow: visible !important; /* ALLOW OCS TO BREATHE WITHOUT CLIPPING */
}

/* CLAMP THE LEFT COLUMN (TEXT CONTENT) */
.hero-content {
    flex: 1 1 560px !important;
    max-width: 640px !important;
    padding-top: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.hero-name-wrapper {
    display: inline-block;
    position: relative;
}

.hero-title-area {
    display: none;
    /* Removed for alignment with 3.1 */
}

.hero-name {
    display: none;
}

/* Dark mode override for Hero Name */
[data-theme="dark"] .hero-name {
    color: rgba(255, 255, 255, 0.8);
    /* 20% brightness reduction for Dark Mode */
}

/* Dark mode: subtle text glow for premium feel */
[data-theme="dark"] .hero-name {
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.08);
}

.hero-name::after {
    display: none;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 600; /* Increased weight to match mockup */
    margin-bottom: 0;
    letter-spacing: -0.01em;
    line-height: 1.15;
    text-align: left;
    color: #0f172a;
    position: relative;
}

.tagline-accent {
    font-family: var(--font-body);
    font-weight: 700;
    color: #000;
}

.tagline-light {
    font-weight: 400;
    color: #64748b;
}

.hero-tagline::after {
    display: none;
}

/* Multicolor underline — only under AI-Orchestrated span */
.tagline-accent {
    position: relative;
}

.tagline-accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px; /* Slightly thicker */
    background: linear-gradient(90deg,
            #4285F4 0%, #4285F4 25%,
            #EA4335 25%, #EA4335 50%,
            #FBBC05 50%, #FBBC05 75%,
            #34A853 75%, #34A853 100%);
    border-radius: 2px;
    display: block;
}

[data-theme="dark"] .hero-tagline {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.08);
}

.hero-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 2.1;
    margin-bottom: 24px;
    text-align: left;
    max-width: 640px;
    color: rgba(30, 41, 59, 0.7);
    /* Deep Slate Grey (30% dimmed) for Light Mode */
}

/* Dark mode overrides for Tagline & Description */
[data-theme="dark"] .hero-tagline,
[data-theme="dark"] .hero-description {
    color: rgba(255, 255, 255, 0.7);
    /* 30% brightness reduction for Dark Mode */
}

/* Domain Expertise — Adjusted for 2 rows */
.hero-domains {
    min-height: 100px;
    /* Allow for two rows */
    margin: 40px 0 20px 0;
}

.hero-domain-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 10px;
}

[data-theme="dark"] .hero-domain-label {
    color: var(--accent);
    opacity: 0.7;
}

.hero-domain-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-domain-tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: #ffffff;
    transition: all 0.3s ease;
    white-space: nowrap;
}

[data-theme="dark"] .hero-domain-tag {
    background: #1e1e1e;
    /* Deep card background for dark mode */
}

/* Rotating Google Colors - Vibrant Edition */
.hero-domain-tag:nth-child(6n+1) {
    /* Blue */
    border-color: #4285F4;
    color: var(--text-primary);
}

.hero-domain-tag:nth-child(6n+2) {
    /* Red */
    border-color: #EA4335;
    color: var(--text-primary);
}

.hero-domain-tag:nth-child(6n+3) {
    /* Yellow */
    border-color: #FBBC05;
    color: var(--text-primary);
}

.hero-domain-tag:nth-child(6n+4) {
    /* Green */
    border-color: #34A853;
    color: var(--text-primary);
}

.hero-domain-tag:nth-child(6n+5) {
    /* Slate/Improved Grey */
    border-color: #94a3b8;
    color: var(--text-primary);
}

.hero-domain-tag:nth-child(6n+6) {
    /* White/Outline */
    border-color: var(--border);
    color: var(--text-primary);
}

/* Light Mode visibility enforcement */
html:not([data-theme="dark"]) .hero-domain-tag:nth-child(6n+3) {
    border-color: #f59e0b;
}

html:not([data-theme="dark"]) .hero-domain-tag:nth-child(6n+5) {
    border-color: #475569;
}

html:not([data-theme="dark"]) .hero-domain-tag:nth-child(6n+6) {
    border-color: #94a3b8;
}

.hero-domain-tag:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Platform Reach */
.hero-platforms {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

.hero-platform {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
}

[data-theme="dark"] .hero-platform {
    color: rgba(255, 255, 255, 0.35);
}

.hero-platform-dot {
    font-size: 14px;
    color: var(--text-light);
    opacity: 0.4;
}

.hero-cta-group {
    margin-top: 0;
    /* Starts directly at 10 after Domains (08, 09) */
    display: flex;
    gap: 24px;
    height: 46px;
    /* Row 10 */
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta-primary {
    font-family: 'Inter', sans-serif;
    background: #1A202C !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(26, 32, 44, 0.2);
    text-decoration: none;
}

.hero-cta-primary:hover {
    background: #2D3748 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 32, 44, 0.3);
    color: #fff !important;
    text-decoration: none;
}


.hero-cta-secondary {
    font-family: 'Inter', sans-serif;
    background: transparent !important;
    color: #4A5568 !important;
    border: 1px solid #A0AEC0 !important;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    text-decoration: none;
}

.hero-cta-secondary:hover {
    border-color: #1A202C !important;
    color: #1A202C !important;
    transform: translateY(-1px);
    text-decoration: none;
}

/* OCS Radial Diagram — 2-Ring Orbit System (SCCB-7 v2) */
/* HARD-CLAMP AND SCALE THE OCS DIAGRAM (Nuclear Override - Calibrated) */
.ocs-diagram {
    flex: 0 0 420px !important;
    width: 420px !important;
    height: 500px !important; /* Maximum headroom for all nodes */
    position: relative !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: flex-start !important;
    transform: scale(0.85) !important;
    transform-origin: center center !important;
    margin-top: -40px !important;
}

/* Desktop-only vertical nudge: lift OCS without reflowing hero text */
@media (min-width: 1025px) {
    .ocs-diagram {
        top: -40px !important;
    }


    .hero-metrics-strip .container {
        transform: translateX(-56px) !important;
    }
}

/* Neural Network Canvas */
#neuralCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* === CENTER NODE: Viji Profile === */
.ocs-center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ocs-core-hub {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    padding: 0;
    box-shadow: none;
    animation: none;
}

.ocs-core-hub img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show the full brain and text clearly */
}

.ocs-core-text {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.2;
}

[data-theme="dark"] .ocs-core-text {
    color: #e2e8f0;
}

/* OCS Branding Watermark */
.ocs-watermark {
    position: absolute;
    top: 61%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 800;
    color: #374151;
    opacity: 0.25;
    letter-spacing: 3px;
    text-transform: lowercase;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    text-align: center;
    -webkit-mask-image: radial-gradient(circle, black 60%, transparent 95%);
    mask-image: radial-gradient(circle, black 60%, transparent 95%);
}

[data-theme="dark"] .ocs-watermark {
    opacity: 0.06;
}

/* Hub image handling */
.ocs-center-brain {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.ocs-center-label {
    position: static;
    font-family: 'Inter', 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4b5563;
    opacity: 1;
    white-space: nowrap;
    text-shadow: none;
    z-index: 30;
    line-height: 1;
}

[data-theme="dark"] .ocs-center-label {
    color: #cbd5e1;
    /* Lighter slate in dark mode for contrast */
}

/* Neural Connection Grid (SVG Blueprint Detail) */
.ocs-connection-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* Middle Ring track: 210px diameter (105px radius) */
.ocs-ring-track.middle {
    position: absolute;
    width: 210px;
    height: 210px;
    margin-top: -105px;
    margin-left: -105px;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    z-index: 0;
}

/* Outer Ring track: 290px diameter (145px radius) */
.ocs-ring-track.outer {
    position: absolute;
    width: 290px;
    height: 290px;
    margin-top: -145px;
    margin-left: -145px;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.05);
    border-radius: 50%;
    z-index: 0;
}

/* Single orbit track */
.ocs-ring-track.orbit {
    position: absolute;
    width: 290px;
    height: 290px;
    margin-top: -145px;
    margin-left: -145px;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.12);
    border-radius: 50%;
    z-index: 0;
}

/* === NODES === */
.ocs-node {
    position: absolute;
    width: 64px;
    /* Matches Icon size for layout stability */
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
    z-index: 10;
}

/* Middle Ring nodes: 105px radius (Restored for 400px container) */
.ocs-node-middle {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-105px);
}

/* Outer Ring nodes: 145px radius (Restored for 400px container) */
.ocs-node-outer {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-145px);
}

/* Single orbit nodes: 145px radius */
.ocs-node-orbit {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-145px);
}

/* === COUNTER-ROTATION: Two-layer approach === */
/* Layer 1: Wrapper cancels the node's static --angle rotation */
.ocs-icon-wrapper {
    transform: rotate(calc(-1 * var(--angle)));
    display: flex;
    align-items: center;
    justify-content: center;
}


/* === RAW LOGO (No Circle, No Background) === */
.ocs-raw-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    transform: scale(1.1);
    /* SPEC-INTEGRATION-09: Alignment Scaling */
}

/* === ICON CONTAINER NORMALIZATION (CRP-ORBIT-07) === */
.ocs-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    /* Removing fixed padding for precise inner scaling */
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.ocs-icon img {
    width: 65%;
    /* Standardized Focal Size */
    height: 65%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .ocs-icon {
    box-shadow: none;
    background: #000;
    /* Fallback for dark theme icon base */
}

.ocs-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg on hover */
}

/* Force Image Contain within normalized container */
.ocs-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: none !important;
    /* Removed Grayscale for Clarity */
    opacity: 1 !important;
    transition: transform 0.3s ease;
}

.ocs-icon:hover img {
    transform: scale(1.1);
}

/* Icon image sizing: Standard 'Contain' to match Showcase Clarity */
.ocs-icon img,
.ocs-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Never crop original brand logos */
}

/* Wide/Large logos adjustments to match Showcase balance */
.ocs-icon .logo-large {
    width: 90%;
    height: 90%;
}

/* Specific Scaling & Treatment Overrides (SPEC-INTEGRATION-09) */
.logo-windsurf {
    transform: scale(1.1) !important;
}

.bg-cursor img,
.invert {
    filter: invert(1) brightness(2) !important;
    /* Force high-visibility for dark logos */
}

/* === BRAND BACKGROUNDS — Exact Master Doc Tokens === */
.bg-anthropic {
    background: #ffffff !important;
}

.bg-openai {
    background: #ffffff !important;
}

.bg-gemini {
    background: #f0f3fa !important;
}

.bg-google {
    background: #111111 !important;
}

.bg-cline {
    background: #ffffff !important;
    border: none !important;
}

.bg-cursor {
    background: #000000 !important;
}

.bg-windsurf {
    background: #011c42 !important;
}

.bg-codex {
    background: #042a4c !important;
}

.bg-kiro {
    background: #19161d !important;
}

.bg-cowork {
    background: #dd7b5e !important;
}

/* Brand Logo Scaling & High-Contrast Filters (SPEC-INTEGRATION-09) */
.bg-cursor img {
    width: 100% !important;
    /* Scale up Cursor icon-text asset */
    height: 100% !important;
    padding: 8px;
    filter: invert(1) brightness(1.2) !important;
}

.logo-windsurf {
    width: 85% !important;
    height: 85% !important;
    filter: brightness(0) invert(1) !important;
}

.logo-kiro {
    width: 130% !important;
    /* High-Visibility Kiro Overflow */
    height: 130% !important;
    filter: none !important;
    object-fit: contain;
}

.bg-codex img {
    width: 74% !important;
    height: 74% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    filter: brightness(1.15) contrast(1.05) !important;
}

.bg-google img {
    width: 90% !important;
    height: 90% !important;
}

.logo-cline {
    width: 112% !important;
    height: 112% !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    clip-path: circle(47% at 50% 50%) !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    transform: scale(1.18) !important;
    display: block !important;
}

/* Antigravity Stacked Logo normalization inside new container */
.ocs-icon .stacked-logo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 2px;
}

.ocs-icon .stacked-logo img.icon {
    height: 40% !important;
}

.ocs-icon .stacked-logo img.wordmark {
    height: 20% !important;
}



.invert {
    filter: brightness(0) invert(1);
}

/* === ANIMATIONS === */
@keyframes ocs-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes ocs-counter-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

/* Pause all rotation on hover for better interaction */
.ocs-diagram:hover .ocs-ring {
    animation-play-state: paused;
}

.ocs-diagram:hover .ocs-icon {
    animation-play-state: paused;
    filter: grayscale(0%) brightness(1);
}

/* === OCS RESPONSIVE === */
/* MOBILE RESPONSIVENESS FAIL-SAFE (Nuclear Override) */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        overflow: visible !important;
    }

    .hero-content {
        max-width: 100% !important;
        flex: 1 1 auto !important;
        width: 100% !important;
    }

    .ocs-diagram {
        transform: scale(0.75) !important;
        transform-origin: center center !important;
        margin-top: 40px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: 0 !important;
        right: 0 !important;
    }
}


/* Hero Section — 14" Laptop viewport fix (≤800px height) */
@media (max-height: 800px) and (min-width: 1025px) {
    .hero-top-bar {
        padding: 12px 0 4px 0;
    }

    .hero-about-title {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .hero-exec-statement {
        font-size: 15px;
        padding: 6px 12px;
        margin-top: 8px;
    }

    .hero-tagline {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .hero-domains {
        margin-bottom: 12px;
    }

    .about-exec-number {
        font-size: 28px;
    }

    .about-exec-item {
        padding: 6px 12px;
    }
}

/* Hero Section Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 60px 15px;
    }
}

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

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }
}

/* HERO CTA */
.hero-cta {
    padding: 11px 24px;
    /* Reduced height and width */
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.hero-cta-primary {
    background: #1e293b;
    /* Premium Slate/Graphite */
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-cta-secondary {
    background: transparent;
    color: #1e293b;
    border: 1.5px solid #1e293b;
}

[data-theme="dark"] .hero-cta-primary {
    background: #f8fafc;
    /* Silver for dark mode */
    color: #0f172a;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hero-cta-secondary {
    color: #f8fafc;
    border-color: rgba(248, 250, 252, 0.4);
}

.hero-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .hero-cta:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

/* Hero CTA — Text Link Style (cert-text-link pattern) */
.hero-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    white-space: nowrap;
    position: relative;
}

.hero-cta-link-primary {
    color: #1A202C;
}

.hero-cta-link-secondary {
    color: #64748b;
}

.hero-cta-link:hover {
    opacity: 0.6;
    text-decoration: none;
}

[data-theme="dark"] .hero-cta-link-primary {
    color: #f1f5f9;
}

[data-theme="dark"] .hero-cta-link-secondary {
    color: #94a3b8;
}

/* Vision Section & Strategic Narrative */
.vision-section {
    padding: 80px 0;
    background: #f8fafc;
}

[data-theme="dark"] .vision-section {
    background: #0f172a;
}

.vision-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 60px 80px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .vision-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #2563eb, #3b82f6);
}

.vision-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px auto;
    color: #2563eb;
}

.strategic-narrative {
    font-size: 24px;
    line-height: 1.6;
    color: #1e293b;
    font-weight: 500;
    letter-spacing: -0.01em;
    font-family: 'Inter', sans-serif;
}

[data-theme="dark"] .strategic-narrative {
    color: #f1f5f9;
}

/* AI Architecture Recognition Pillars */
.recognition-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

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

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

.pillar-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

[data-theme="dark"] .pillar-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: #334155;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #3b82f6;
}

.pillar-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .pillar-title {
    color: #f8fafc;
}

.pillar-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

[data-theme="dark"] .pillar-text {
    color: #94a3b8;
}

.navbar {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    margin: 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Dark mode: solid surface navbar (Annexure-A â€” no decorative bg) */
[data-theme="dark"] .navbar {
    background: rgba(10, 10, 10, 0.97) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #1a1a1a;
    box-shadow: none;
}

.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
}

body {
    padding-top: 0;
}

.navbar > .container {
    padding-left: 40px !important; /* Nudging it from the extreme edge */
    margin-left: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.navbar-brand {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 1.5rem;
    color: #1e293b;
    /* Dark for Light Mode */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    position: relative !important;
    left: 25px !important; /* Calibrated offset to reach exactly 40px from edge */
}

.navbar-profile-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1A202C;
    /* Deep Navy per CRP-FINAL-03 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.navbar-name-first {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.navbar-name-last {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

/* #1: AI Systems Architect */
.navbar-role-text {
    font-size: 11px;
    color: #475569;
    /* Slate Gray */
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.navbar-role-divider {
    color: #94a3b8;
    font-weight: 300;
    font-size: 14px;
    margin: 0 2px;
}

.navbar-nav-link {
    color: #334155;
    /* Dark Graphite */
    /* Subtle for Light Mode */
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    padding: 6px 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    height: 32px;
    white-space: nowrap;
}

.navbar-home-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white !important;
    border-radius: 50%;
    padding: 0 !important;
    margin: 0 4px !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
}

.navbar-home-icon svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.navbar-home-icon:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* #6: Home icon without background */
.navbar-home-icon-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    color: #1e293b !important;
    /* Dark for Light Mode */
    border-radius: 50%;
    padding: 0 !important;
    margin: 0 4px !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.navbar-home-icon-clean:hover {
    color: var(--accent) !important;
    transform: scale(1.1);
}

/* #5: LinkedIn blue badge */
.linkedin-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: #0077B5 !important;
    border-radius: 50% !important; /* FORCED RADIAL SHAPE */
    margin: 0 4px !important;
    transition: all 0.3s ease !important;
}

.linkedin-badge:hover {
    background: #005f8d;
    transform: scale(1.1);
}

.navbar-nav-link:hover {
    color: #0f172a;
    background-color: rgba(0, 0, 0, 0.05);
}

/* #2: Active nav link */
.navbar-nav-link.active {
    color: #ffffff !important;
    background-color: #1e293b;
    /* Solid dark background */
    font-weight: 600;
}

/* DARK MODE NAVBAR OVERRIDES */
[data-theme="dark"] .navbar-brand {
    color: #ffffff;
}

[data-theme="dark"] .navbar-name-first {
    color: #ffffff;
}

[data-theme="dark"] .navbar-name-last {
    color: #ef4444;
    text-transform: lowercase !important;
}

.navbar-name-last {
    text-transform: lowercase !important;
}

[data-theme="dark"] .navbar-role-text {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .navbar-profile-img {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .navbar-nav-link {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .navbar-nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar-nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

[data-theme="dark"] .navbar-home-icon-clean {
    color: #ffffff !important;
}

/* #3: Theme toggle */
.theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    padding: 0;
    margin: 0 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    overflow: hidden;
    color: #222222;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* #3: Theme toggle â€” dark mode: white icon on dark bg */
[data-theme="dark"] .theme-toggle-btn {
    background: rgba(10, 10, 15, 0.8);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-toggle-btn:hover {
    background: #f0f0f0;
    color: #000000;
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    height: 100%;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        align-items: center;
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    .navbar > .container {
        padding: 0 15px !important;
        justify-content: space-between !important;
        flex-direction: row !important;
    }
    .navbar-brand {
        left: 0 !important;
        gap: 8px !important;
        max-width: 75% !important;
    }
    .navbar-collapse {
        background: #000000 !important; /* STRICT FLAT BLACK */
        backdrop-filter: none !important;
        position: absolute !important;
        top: 60px !important;
        left: 0 !important;
        width: 100% !important; 
        padding: 12px 0 !important;
        border: none !important;
        border-bottom: 2px solid var(--primary); /* Sharp architectural accent */
        border-radius: 0 !important; 
        margin: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        display: none; /* Let bootstrap handle toggle */
    }
    .navbar-collapse.show {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
    }
    .navbar-nav {
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important; /* SYMMETRIC SPACING */
        align-items: center !important;
        width: 100% !important;
        max-width: 450px;
        margin: 0 auto !important;
        padding: 0 20px !important;
        gap: 0 !important;
    }
    .navbar-nav-link, .theme-toggle-btn, .linkedin-container {
        font-family: 'Instrument Sans', sans-serif !important;
        font-weight: 700 !important;
        font-size: 8px !important; /* Hyper-compact */
        padding: 10px 5px !important;
        color: #ffffff !important;
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;
        gap: 5px !important;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        background: transparent !important;
        border: none !important;
        flex: 1;
        text-align: center;
        min-width: 65px;
        margin: 0 !important;
    }
    .linkedin-text {
        color: #ffffff !important;
        margin-top: 1px;
    }
}


/* LinkedIn Circular Badge — Precision Token */
.linkedin-badge {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0077B5 !important;
    overflow: hidden !important;
}

.linkedin-badge svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}

/* Custom Hamburger Toggle — Forced Circular Signal */
.navbar-toggler {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    display: none !important; /* Safe hide on desktop */
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 50% !important; 
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .navbar-toggler {
        display: flex !important; /* Restored on Mobile */
    }
}

[data-theme="dark"] .navbar-toggler {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.hamburger-viji {
    width: 20px;
    height: 14px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-viji span {
    display: block;
    height: 1.5px;
    width: 100%;
    background-color: #1e293b;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .hamburger-viji span {
    background-color: #ffffff;
}

.navbar-toggler[aria-expanded="true"] .hamburger-viji span:nth-child(1) {
    transform: translateY(5.25px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-viji span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-viji span:nth-child(3) {
    transform: translateY(-5.25px) rotate(-45deg);
}

/* CERTIFICATE & RESUME MODAL */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    overflow: auto;
}

.certificate-modal-content {
    position: relative;
    margin: 40px auto;
    max-width: 900px;
    width: 95%;
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .certificate-modal-content {
    background: var(--bg-secondary);
}

.certificate-modal-close {
    position: fixed;
    top: 16px;
    right: 24px;
    font-size: 36px;
    color: #ffffff;
    cursor: pointer;
    z-index: 2100;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.certificate-modal-close:hover {
    opacity: 1;
    transform: rotate(90deg) scale(1.1);
}

.certificate-modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.certificate-modal-image.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

.certificate-modal-title {
    text-align: center;
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* PROFILE MODAL */
.profile-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.profile-modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.profile-modal-image {
    max-width: 360px;
    width: 85vw;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.profile-modal-close {
    position: fixed;
    top: 16px;
    right: 24px;
    font-size: 36px;
    color: #ffffff;
    cursor: pointer;
    z-index: 2100;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-modal-close:hover {
    opacity: 1;
    transform: rotate(90deg) scale(1.1);
}


[data-theme="dark"] .cert-view-btn {
    border-color: var(--accent);
    color: var(--accent);
}

[data-theme="dark"] .cert-view-btn:hover {
    background: var(--accent);
    color: white;
}

/* SECTION STYLING â€” backgrounds set per section ID (Annexure-A) */
.section {
    scroll-margin-top: 70px;
    padding: 40px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 600px;
}

/* CONTENT CARDS â€” Executive Minimal (Annexure-A Â§5) */
.card {
    background: var(--bg-primary);
    padding: 32px 28px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: background 0.2s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    background: var(--bg-secondary);
}

[data-theme="dark"] .card {
    background: var(--bg-primary);
}

[data-theme="dark"] .card:hover {
    background: var(--bg-secondary);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* GRID LAYOUTS */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    background: var(--border);
    margin-bottom: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* CERTIFICATION BADGES */
.certification-badge {
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 0;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.certification-badge:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.certification-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.certification-issuer {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ABOUT SECTION */
.about-section {
    padding: 48px 0;
    background: #fcfdfe;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-content h3 {
    color: var(--primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.about-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-highlight {
    background: #f3f4f6;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin: 24px 0;
}

.about-highlight strong {
    color: var(--primary);
}

[data-theme="dark"] .about-highlight {
    background: var(--bg-tertiary);
}

/* CONTACT SECTION - BUSINESS CARD DESIGN */
.business-card-wrapper {
    max-width: 421px;
    margin: 0 auto;
}

.business-card-no-image {
    display: block;
    background: white;
    border: 0.5px solid #e5e7eb;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    aspect-ratio: 3.5 / 2;
}

.business-card-no-image:hover {
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
    transform: translateY(-4px);
}

.business-card-qr-container {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
}

.business-card-qr-code {
    width: 70px;
    height: 70px;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 2px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.business-card-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 24px 0;
    flex: 1;
}

.business-card-header {
    padding: 12px 16px 0 16px;
    margin-bottom: 0;
}

.business-card-name {
    font-size: 20px;
    font-weight: 600;
    color: #d90000;
    margin: 0 0 2px 0;
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
}

.business-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
}

.business-card-email {
    font-size: 12px;
    color: #666666;
    margin: 2px 0 12px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.business-card-accent-bar {
    background: #dc2626;
    color: white;
    padding: 8px 16px;
    margin: 8px 0 0 0;
    text-align: right;
}

.business-card-accent-text {
    font-size: 19px;
    font-weight: 600;
    color: white;
    margin: 0;
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
}

.business-card-description {
    padding: 8px 16px;
    text-align: right;
    margin-bottom: 12px;
}

.business-card-description p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.business-card-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 8px 16px 8px 16px;
    margin-bottom: 12px;
}

.business-card-location {
    padding-right: 20px;
    text-align: left;
    margin-right: 8px;
}

.business-card-location p {
    font-size: 10px;
    color: #666666;
    margin: 0;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.business-card-contact-details {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    margin-left: 8px;
}

.business-card-phone {
    font-size: 10px;
    color: #666666;
    margin: 0 4px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline;
}

.business-card-phone-website {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.business-card-website-group {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.business-card-linkedin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #2563eb;
    color: white;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.business-card-linkedin-icon:hover {
    background-color: #1e40af;
    transform: scale(1.1);
}

.business-card-website {
    font-size: 10px;
    font-weight: 600;
    color: #d90000;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* DARK MODE CARD OVERRIDES - Premium Glassmorphism */
[data-theme="dark"] .card {
    background: rgba(20, 20, 25, 0.40);
    /* Match light mode transparency */
    backdrop-filter: blur(32px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Sophisticated rim light */
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.certification-badge {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .certification-badge {
    background: rgba(20, 20, 25, 0.40);
    backdrop-filter: blur(32px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

/* Premium Chip Style for View Certificate Button */
.cert-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    padding: 8px 20px;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cert-view-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .cert-view-btn {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .cert-view-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .section:nth-child(even) {
    background-color: var(--bg-secondary);
}

/* FOOTER */
footer {
    background-color: #212529;
    color: white;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    margin: 0;
    font-size: 14px;
    color: #e9ecef;
    font-weight: 400;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* CHATBOT WIDGET */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1040;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.chatbot-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.chatbot-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 500px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0;
    display: none;
    flex-direction: column;
    z-index: 1040;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.chatbot-widget.active {
    display: flex;
}

.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.chatbot-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chatbot-header-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chatbot-header-text p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-message {
    display: flex;
    margin-bottom: 10px;
}

.chatbot-message p {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-size: 14px;
    line-height: 1.5;
    max-width: 80%;
    word-wrap: break-word;
    margin-bottom: 0;
}

.bot-message {
    justify-content: flex-start;
}

.bot-message p {
    background: #f3f4f6;
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.user-message {
    justify-content: flex-end;
}

.user-message p {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot-input-area {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--border);
    background: #fafafa;
}

.chatbot-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.chatbot-send {
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chatbot-send:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* CHATBOT NLP ENHANCEMENTS */
.bot-suggestions-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.bot-suggestion-chip {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bot-suggestion-chip:hover {
    background: var(--primary);
    color: white;
}

[data-theme="dark"] .bot-suggestion-chip {
    border-color: var(--accent);
    color: var(--accent);
}

[data-theme="dark"] .bot-suggestion-chip:hover {
    background: var(--accent);
    color: #0f172a;
}

/* Typing Indicator Animation */
.typing-container {
    background: transparent !important;
    padding: 4px 14px !important;
    margin-bottom: 0 !important;
}

.typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f3f4f6;
    padding: 10px 14px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

[data-theme="dark"] .typing-bubble {
    background: var(--bg-tertiary);
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-light);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
    opacity: 0.5;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

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

    50% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

[data-theme="dark"] .chatbot-widget {
    background: var(--bg-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .bot-message p {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

[data-theme="dark"] .chatbot-input {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border);
}

[data-theme="dark"] .chatbot-input-area {
    background: var(--bg-tertiary);
    border-color: var(--border);
}

/* RESPONSIVE REFINEMENTS */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 24px;
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        margin-top: 12px;
        z-index: 1050;
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
    }

    [data-theme="dark"] .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .navbar-nav {
        align-items: flex-start;
        width: 100%;
        gap: 8px;
    }

    .navbar-nav-link {
        width: 100%;
        padding: 12px 16px;
        height: auto;
        border-radius: 8px;
    }

    .navbar-nav-link:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    [data-theme="dark"] .navbar-nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .linkedin-badge,
    .navbar-home-icon-clean,
    .theme-toggle-btn {
        display: inline-flex;
        margin: 16px 12px 0 0 !important;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 0;
        scroll-margin-top: 70px;
    }

    .chatbot-widget {
        width: calc(100vw - 32px);
        height: 60vh;
        bottom: 90px;
        right: 16px;
    }

    /* Navbar Compression */
    .navbar-profile-img {
        width: 30px;
        height: 30px;
    }

    .navbar-brand {
        gap: 8px;
    }

    .navbar-name-first {
        font-size: 0.85rem;
    }

    .navbar-name-last {
        font-size: 0.65rem;
    }

    .navbar-role-text {
        font-size: 10px;
    }

    /* Hero Space Recalibration */
    .hero-container {
        gap: 0;
        padding-top: 20px;
    }

    .hero-container {
        align-items: center !important;
    }

    .ocs-diagram {
        transform: scale(0.65) !important;
        transform-origin: center top !important;
        margin: 12px auto 0 !important;
        min-height: 360px !important;
        top: 0 !important;
        left: 50% !important;
        right: auto !important;
        position: relative !important;
        translate: -50% 0 !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .card {
        padding: 20px 16px;
    }

    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
    }

    /* Extreme Navbar Compression to prevent wrapping */
    .navbar-profile-img {
        width: 26px;
        height: 26px;
        border-width: 1px;
    }

    .navbar-brand {
        gap: 6px;
    }

    .navbar-name-first {
        font-size: 0.75rem;
    }

    .navbar-name-last {
        font-size: 0.55rem;
    }

    .navbar-role-text {
        font-size: 8px;
    }

    .navbar-toggler {
        padding: 4px 8px;
        font-size: 0.8rem;
        margin-left: auto;
    }

    /* Hero Deep Compression for Mobile Thumbs */
    .hero-name {
        font-size: 32px;
    }

    .hero-name::after {
        width: 40%;
    }

    .hero-tagline {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .hero-domain-tag {
        font-size: 11px;
        padding: 4px 10px;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
        margin-bottom: 12px;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Shrink the complex Radial framework so it fits natively */
    .ocs-diagram {
        transform: scale(0.5) !important;
        transform-origin: center top !important;
        margin: 8px auto 0 !important;
        min-height: 300px !important;
        top: 0 !important;
        left: 50% !important;
        right: auto !important;
        position: relative !important;
        translate: -50% 0 !important;
    }
}

/* ============================================================
   SCCB-PS-01 COMPONENT STYLES
   ============================================================ */

/* --- ABOUT: Editorial Layout --- */
.about-editorial-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}

.about-narrative {
    flex: 1;
}

.about-portrait-wrapper {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.portrait-frame {
    position: relative;
    width: 160px;
    height: 160px;
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    clip-path: circle(50% at center);
}

.portrait-accent {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
}

[data-theme="dark"] .portrait-accent {
    background: rgba(255, 255, 255, 0.03);
}

.about-info-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (max-width: 991px) {
    .about-editorial-container {
        flex-direction: column;
        gap: 48px;
    }

    .about-portrait-wrapper {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

.executive-statement {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 0 auto 32px auto;
    max-width: 100%;
    font-style: italic;
    background: transparent;
    letter-spacing: 0.01em;
}

[data-theme="dark"] .executive-statement {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent);
}

/* --- ABOUT: Executive Stats Grid --- */
.about-executive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 991px) {
    .about-executive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-executive-grid {
        grid-template-columns: 1fr;
    }
}

.about-exec-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 20px;
    border: none;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about-exec-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.about-exec-number {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 800;
    /* Applied 'AI-Orchestrated' brand blue gradient */
    background: linear-gradient(135deg, #2563eb, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
}

.about-exec-icon {
    font-size: 28px;
    /* Applied primary brand blue */
    color: #2563eb;
    flex-shrink: 0;
}

.about-exec-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* --- AI ARCHITECTURE RECOGNITION --- */
.ai-recognition-section {
    padding: 40px 0;
}

.recognition-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: none;
    border-top: 1px solid var(--border);
}

.recognition-item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 28px;
    background: transparent;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.recognition-item:hover {
    background: var(--bg-tertiary);
}

.recognition-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
    flex-shrink: 0;
}

.recognition-issuer {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recognition-date {
    font-size: 11px;
    color: var(--text-light);
}

.recognition-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    flex: 1;
}

.recognition-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    flex: 2;
}

.cert-view-btn-sm {
    margin-left: auto;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.cert-view-btn-sm:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

[data-theme="dark"] .cert-view-btn-sm {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .cert-view-btn-sm:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 768px) {
    .recognition-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cert-view-btn-sm {
        margin-left: 0;
    }
}

/* --- CAREER: 3-Phase Executive Timeline --- */
.exec-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 3px solid var(--primary);
    margin-left: 40px;
}

.exec-timeline-item {
    display: flex;
    gap: 32px;
    padding: 20px 0 20px 40px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.exec-timeline-item:last-child {
    border-bottom: none;
}

.exec-timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 38px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-primary);
}

.exec-timeline-phase {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 72px;
    padding-top: 4px;
    flex-shrink: 0;
}

.exec-timeline-content {
    flex: 1;
}

.exec-timeline-period {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.exec-timeline-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.exec-timeline-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    max-width: 640px;
}

@media (max-width: 640px) {
    .exec-timeline {
        margin-left: 16px;
    }

    .exec-timeline-item {
        flex-direction: column;
        gap: 8px;
        padding-left: 28px;
    }
}

/* --- AI JOURNEY: 4 Stages Grid --- */
.ai-stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2px;
    background: var(--border);
}

.ai-stage-item {
    background: var(--item-bg, var(--bg-secondary));
    padding: 32px 28px;
    transition: background 0.2s ease;
    position: relative;
}

.ai-stage-item:hover {
    background: var(--bg-primary);
}

.ai-stage-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.ai-stage-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    padding-right: 48px;
}

.ai-stage-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* --- SKILLS: Capability Matrix --- */
.capability-matrix-wrapper {
    width: 100%;
    overflow-x: auto;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border);
    margin-bottom: 0px;
}

.capability-matrix {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    table-layout: fixed;
}

.capability-matrix th,
.capability-matrix td {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    text-align: left;
}

.capability-matrix th {
    vertical-align: middle;
}

.capability-matrix tr:last-child td {
    border-bottom: none;
}

.matrix-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.matrix-items li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.matrix-items li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--border);
    font-size: 12px;
}

.matrix-item-title {
    font-size: 17px;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: normal;
    display: block;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

.matrix-header-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: normal;
    display: block;
    line-height: 1.3;
}

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

/* --- PROJECT SHOWCASE MATRIX --- */
.project-matrix-wrapper {
    width: 100%;
    overflow-x: auto;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border);
    margin-bottom: 0px;
}

.project-matrix {
    width: 100%;
    min-width: 900px;
    /* guarantees clean wrapping for columns to prevent squishing text */
    border-collapse: collapse;
}

.project-matrix th,
.project-matrix td {
    padding: 24px 28px;
    border: none;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    text-align: left;
}

.project-matrix th {
    background: transparent;
}

.project-matrix tr:last-child td {
    border-bottom: none;
}

.matrix-label-col {
    width: 150px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: transparent;
    height: 80px;
    vertical-align: middle !important;
}

.matrix-label {
    width: 320px;
    vertical-align: top;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
}

.matrix-item-tag {
    margin-top: 6px;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.project-showcase-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 6px;
}

.project-showcase-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.project-showcase-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.matrix-footer-cell {
    background: transparent;
}

.project-showcase-footer {
    display: flex;
    gap: 12px;
}

/* --- VALUE PROPOSITION: Tri-Panel --- */
.value-prop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    background: var(--border);
}

.value-prop-item {
    background: var(--bg-secondary);
    padding: 40px 32px;
    text-align: center;
    transition: background 0.2s ease;
}

.value-prop-item:hover {
    background: var(--bg-primary);
}

.value-prop-for {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.value-prop-statement {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
}

/* --- FOOTER --- */
.site-footer {
    background: #111827;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

/* ============================================================
   SCCB-PS-02 FIXES
   ============================================================ */

/* Fix 2: Hero container â€” single column on removal of OCS diagram */
.hero-container {
    grid-template-columns: 1fr 1fr;
}

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

    .hero-right-panel {
        display: none;
    }
}

/* Fix 2: Hero right panel â€” clean profile display */
.hero-right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-profile-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    filter: grayscale(15%);
}

[data-theme="dark"] .hero-profile-photo {
    border-color: #2a2a2a;
    filter: grayscale(20%) brightness(0.9);
}

.hero-profile-credentials {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.hero-credential-item {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 4px 12px;
    border: 1px solid var(--border);
}

[data-theme="dark"] .hero-credential-item {
    border-color: #222222;
    color: #6b7280;
}

/* Fix 7 (Recommended): Certification text links */
.cert-text-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.2px;
    margin-left: auto;
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    padding: 0;
}

.cert-text-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

[data-theme="dark"] .cert-text-link {
    color: #60a5fa;
}

/* Fix 5: Capability clusters â€” more breathing room */
.capability-clusters {
    gap: 20px;
}

.capability-cluster {
    padding: 28px 28px 32px;
}

[data-theme="dark"] .capability-cluster {
    border-color: #1e1e1e;
    background: #0d0d0d;
}

[data-theme="dark"] .capability-cluster:hover {
    border-color: #333333;
    background: #121212;
    box-shadow: none;
}

[data-theme="dark"] .cluster-title {
    border-bottom-color: #1e1e1e;
}

[data-theme="dark"] .cluster-items li {
    color: #6b7280;
}

[data-theme="dark"] .cluster-items li::before {
    color: #2a2a2a;
}

/* ============================================================
   HERO TOOL STRIP â€” Monochrome AI Platform Icons
   ============================================================ */
.hero-tool-strip {
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.hero-tool-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* All icons: fixed square bounding box, monochrome, no shadow */
.tool-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.45);
    transition: filter 0.2s ease;
    display: block;
    flex-shrink: 0;
}

/* Cursor uses dark-on-dark logo â€” invert for light mode */
.tool-icon-invert {
    filter: grayscale(100%) opacity(0.45) invert(1);
}

/* Subtle hover â€” slightly more visible, still monochrome */
.tool-icon:hover {
    filter: grayscale(100%) opacity(0.75);
}

.tool-icon-invert:hover {
    filter: grayscale(100%) opacity(0.75) invert(1);
}

/* Dark mode */
[data-theme="dark"] .tool-icon {
    filter: grayscale(100%) opacity(0.35) invert(1);
}

[data-theme="dark"] .tool-icon-invert {
    filter: grayscale(100%) opacity(0.35);
}

[data-theme="dark"] .tool-icon:hover {
    filter: grayscale(100%) opacity(0.60) invert(1);
}

[data-theme="dark"] .tool-icon-invert:hover {
    filter: grayscale(100%) opacity(0.60);
}

.hero-tool-caption {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 0.4px;
    text-align: center;
    margin: 0;
    font-style: italic;
}

[data-theme="dark"] .hero-tool-caption {
    color: #444444;
}

/* ============================================================
   SCCB-PS-03 CSS
   ============================================================ */

/* --- Â§3: Architecture Authority Signal --- */
.arch-signal {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
}

.arch-signal-node {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 6px 20px;
    border: 1px solid var(--border);
    background: transparent;
    text-align: center;
    width: 180px;
}

[data-theme="dark"] .arch-signal-node {
    color: #4b5563;
    border-color: #1e1e1e;
}

.arch-signal-arrow {
    font-size: 14px;
    color: var(--border);
    line-height: 1.2;
    padding: 2px 0;
    user-select: none;
}

[data-theme="dark"] .arch-signal-arrow {
    color: #1e1e1e;
}

/* --- Â§4 / Â§5: Section alternation â€” enforce hard tonal break --- */
/* Light mode per-section (overrides any blending) */
#about,
#career,
#skills,
#gallery,
#achievements {
    background-color: #ffffff !important;
}

#certifications,
#ai-journey,
#processes,
#value,
#contact {
    background-color: #f3f4f6 !important;
}

/* Dark mode already set per-ID, reinforce here */
[data-theme="dark"] #about,
[data-theme="dark"] #career,
[data-theme="dark"] #skills,
[data-theme="dark"] #gallery,
[data-theme="dark"] #achievements {
    background-color: #121212 !important;
}

[data-theme="dark"] #certifications,
[data-theme="dark"] #ai-journey,
[data-theme="dark"] #processes,
[data-theme="dark"] #value,
[data-theme="dark"] #contact {
    background-color: #000000 !important;
}

/* Cards â€” hard enforce */
.card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
}

[data-theme="dark"] .card {
    background: #1a1a1a !important;
    border-color: #222222 !important;
    box-shadow: none !important;
}

/* --- Â§6: Project Showcase Typography Hierarchy --- */
.project-showcase-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6b7280;
    margin-bottom: 6px;
}

[data-theme="dark"] .project-showcase-label {
    color: #9ca3af;
}

.project-showcase-text {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.project-showcase-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.project-showcase-row:last-child {
    border-bottom: none;
}

[data-theme="dark"] .project-showcase-row {
    border-bottom-color: #1e1e1e;
}

/* --- Â§7: Achievement category label â€” no pill, no color --- */
.achievement-category {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin: 0 0 6px 0;
}

[data-theme="dark"] .achievement-category {
    color: #4b5563;
}

/* --- §9: Section vertical spacing - Converted to compact 40px standard --- */
.section {
    padding: 20px 0;
}

@media (max-width: 1024px) {
    .section {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 24px 0;
    }
}

/* ========================================
   CRP-FINAL-03 REFINEMENTS
   ======================================== */

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 8px;
    vertical-align: middle;
}

.badge-production {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-certified {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Metadata Accents — Removed */

/* Hierarchy Tree Diagram */
.hierarchy-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    position: relative;
}

.hierarchy-node {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    min-width: 180px;
    text-align: center;
}

.hierarchy-tree::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
    z-index: 1;
}

[data-theme="dark"] .hierarchy-node {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

/* Project table flagships */
.project-matrix tr td:nth-child(2),
.project-matrix tr th:nth-child(2) {
    background: rgba(37, 99, 235, 0.02);
}

[data-theme="dark"] .project-matrix tr td:nth-child(2),
[data-theme="dark"] .project-matrix tr th:nth-child(2) {
    background: rgba(37, 99, 235, 0.05);
}

/* Layered Shadow overrides */
.capability-card,
.pillar-card,
.recognition-item,
.project-matrix-wrapper {
    box-shadow: var(--shadow-layered) !important;
}

.strategic-narrative {
    line-height: 1.6 !important;
}

/* Grayscale Logo Reveal */
.grayscale-logo img {
    filter: grayscale(0.8) opacity(0.8);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ocs-diagram:hover .grayscale-logo img,
.grayscale-logo:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

/* Ensure padding-top for fixed navbar and clean layout */
.section {
    position: relative;
    overflow: hidden;
}
