/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transition speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout settings */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Dark Theme Variables (Default) */
.dark-theme {
    --bg-main: #070913;
    --bg-surface: rgba(15, 18, 36, 0.4);
    --bg-surface-opaque: #0f1224;
    --bg-card: rgba(22, 28, 54, 0.45);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(13, 242, 201, 0.15);
    
    --color-primary: #0df2c9; /* Neon Teal */
    --color-primary-rgb: 13, 242, 201;
    --color-secondary: #00a8ff; /* Electric Blue */
    --color-accent: #9b5de5; /* Tech Violet */
    --color-danger: #ff4757;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;
    
    --glow-opacity: 0.15;
    --shadow-main: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 20px rgba(13, 242, 201, 0.2);
}

/* Light Theme Variables */
.light-theme {
    --bg-main: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-opaque: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.06);
    --border-glow: rgba(0, 168, 255, 0.1);
    
    --color-primary: #008080; /* Teal */
    --color-primary-rgb: 0, 128, 128;
    --color-secondary: #0066cc; /* Royal Blue */
    --color-accent: #7209b7; /* Purple */
    --color-danger: #d90429;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-inverse: #f8fafc;
    
    --glow-opacity: 0.06;
    --shadow-main: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

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

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   AMBIENT GLOWS & GLASSMORPHISM
   ========================================================================== */
.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: var(--glow-opacity);
    z-index: -1;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.glow-1 {
    top: 5%;
    right: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

.glow-2 {
    top: 35%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
}

.glow-3 {
    bottom: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
}

/* Glassmorphism utility card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-main);
    transition: transform var(--transition-normal), 
                border-color var(--transition-normal), 
                box-shadow var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow), var(--shadow-main);
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -40px;
    margin-bottom: 40px;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--text-inverse);
    box-shadow: 0 4px 15px rgba(13, 242, 201, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 242, 201, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.btn-block {
    display: flex;
    width: 100%;
}

.badge {
    background: rgba(13, 242, 201, 0.1);
    border: 1px solid rgba(13, 242, 201, 0.2);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.pill-danger {
    background-color: rgba(255, 71, 87, 0.15);
    color: var(--color-danger);
    border: 1px solid rgba(255, 71, 87, 0.25);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 9, 19, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-normal);
}

body.light-theme .main-header {
    background: rgba(248, 250, 252, 0.8);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
}

.logo-accent {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
    border-color: var(--text-muted);
    transform: rotate(15deg);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
}

.dark-theme .moon-icon {
    display: none;
}

.light-theme .sun-icon {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    max-width: 620px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.typing-text {
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Terminal Simulation */
.glass-terminal {
    background: rgba(10, 12, 30, 0.85);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-main);
    overflow: hidden;
}

.terminal-header {
    background: rgba(18, 22, 45, 0.8);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-header .red { background-color: #ff5f56; }
.terminal-header .yellow { background-color: #ffbd2e; }
.terminal-header .green { background-color: #27c93f; }

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.terminal-body {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #a6accd;
}

.terminal-body .line {
    margin-bottom: 8px;
    white-space: pre-wrap;
}

.terminal-body .prompt {
    color: #c792ea;
}

.terminal-body .output {
    color: #89ddff;
}

.terminal-body .indent {
    padding-left: 20px;
}

.terminal-body .text-green {
    color: #c3e88d;
}

.terminal-body .blink {
    animation: blinker 1s step-end infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* ==========================================================================
   STATISTICS SECTION
   ========================================================================== */
.stats-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.grid-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   EXECUTIVE SUMMARY & CORE PROFILE
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}

.about-text-card, .highlights-card {
    padding: 40px;
}

.lead-paragraph {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 20px;
}

.highlights-card h3 {
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.styled-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.styled-list li {
    display: flex;
    gap: 16px;
}

.list-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(13, 242, 201, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.styled-list li strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 4px;
}

.styled-list li p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   EXPERIENCE TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

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

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 3px solid var(--color-primary);
    z-index: 10;
}

.timeline-date {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.timeline-content {
    padding: 32px;
}

.role-badge {
    float: right;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
}

.timeline-role {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.timeline-org {
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1rem;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 168, 255, 0.06);
    color: var(--color-secondary);
    border: 1px solid rgba(0, 168, 255, 0.15);
}

/* ==========================================================================
   TECHNICAL SKILLS MATRIX (FILTERABLE)
   ========================================================================== */
.skills-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-primary);
    color: var(--text-inverse);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(13, 242, 201, 0.25);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.skill-card {
    padding: 32px;
    transform-origin: center;
    opacity: 1;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color var(--transition-normal);
}

/* Filtering animation states */
.skill-card.filtered-out {
    opacity: 0.15;
    transform: scale(0.92);
    pointer-events: none;
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.skill-icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.skill-card h3 {
    font-size: 1.15rem;
}

.skill-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   REPRESENTATIVE PROJECTS
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.project-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
}

.project-icon-box svg {
    width: 24px;
    height: 24px;
}

.project-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
    background: rgba(0, 168, 255, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   OPERATIONAL STRENGTHS
   ========================================================================== */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.strength-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.strength-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 15px;
    right: 20px;
}

body.light-theme .strength-num {
    color: rgba(0, 0, 0, 0.03);
}

.strength-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    position: relative;
}

.strength-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info, .contact-form-card {
    padding: 40px;
}

.contact-info h3, .contact-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.method-icon {
    width: 44px;
    height: 44px;
    background: rgba(13, 242, 201, 0.06);
    border: 1px solid rgba(13, 242, 201, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.method-icon svg {
    width: 20px;
    height: 20px;
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.method-val {
    color: var(--text-main);
    font-weight: 500;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-fast);
}

body.light-theme .form-group input, body.light-theme .form-group textarea {
    background: #ffffff;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(13, 242, 201, 0.15);
}

/* Form Status Messages */
.form-status {
    margin-top: 16px;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.form-status.status-success {
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid rgba(39, 201, 63, 0.25);
    color: #27c93f;
    padding: 12px 16px;
}

.form-status.status-error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.25);
    color: var(--color-danger);
    padding: 12px 16px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 8px;
}

.footer-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-meta {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .nav-links {
        display: none;
    }
    
    /* Mobile Menu Toggle button display */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1100;
    }
    
    /* Mobile Nav Overlay Open state */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--bg-surface-opaque);
        padding: 100px 32px;
        z-index: 1050;
        animation: slideIn 0.3s ease forwards;
    }
    
    @keyframes slideIn {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav-links.open .nav-link {
        font-size: 1.3rem;
    }
    
    .projects-grid, .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    .header-actions .print-btn span {
        display: none;
    }
    
    .header-actions .print-btn {
        padding: 10px;
    }
}

/* ==========================================================================
   PRINT STYLESHEET (PDF Export Engine)
   ========================================================================== */
@media print {
    /* Set basic fonts & colors for high contrast ink */
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt !important;
        line-height: 1.4 !important;
    }
    
    /* Hide decorative/interactive web controls */
    .glow-bg, 
    .main-header, 
    .theme-toggle-btn, 
    #header-print-btn,
    .skills-filter-container, 
    .hero-actions,
    .contact-form-card, 
    .main-footer,
    .badge {
        display: none !important;
    }
    
    /* Reset margins and force full page layouts */
    .container, .hero-container, .about-grid, .contact-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .section {
        padding: 20px 0 !important;
        page-break-inside: avoid;
    }
    
    /* Remove glassmorphism effects */
    .glass-card, .glass-terminal, .project-card, .about-text-card, .highlights-card, .timeline-content {
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-bottom: 15px !important;
        transform: none !important;
    }
    
    /* Format Hero Info for standard printed header */
    .hero-section {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    .hero-title {
        font-size: 24pt !important;
        color: #000000 !important;
        margin-bottom: 5px !important;
        text-align: left !important;
    }
    
    .hero-subtitle {
        font-size: 13pt !important;
        color: #333333 !important;
        margin-bottom: 10px !important;
        text-align: left !important;
    }
    
    .hero-meta {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        margin-bottom: 15px !important;
        border-bottom: 1px solid #cccccc !important;
        padding-bottom: 10px !important;
    }
    
    .meta-item {
        font-size: 9.5pt !important;
        color: #333333 !important;
    }
    
    .meta-item svg {
        display: none !important;
    }
    
    .hero-description {
        font-size: 11pt !important;
        color: #000000 !important;
        margin-bottom: 10px !important;
    }
    
    /* Hide visual interactive elements */
    .hero-visual, .stats-section, .strengths-grid, .contact-methods, .list-icon {
        display: none !important;
    }
    
    /* Reformat Executive Summary & Core Competencies */
    .about-grid {
        display: block !important;
    }
    
    .section-title {
        font-size: 14pt !important;
        color: #000000 !important;
        margin-bottom: 10px !important;
        text-transform: uppercase !important;
        border-bottom: 1.5pt solid #000000 !important;
        width: 100% !important;
        display: block !important;
    }
    
    .section-title::after {
        display: none !important;
    }
    
    .highlights-card h3 {
        display: none !important;
    }
    
    .styled-list {
        gap: 10px !important;
        margin-top: 10px !important;
    }
    
    .styled-list li {
        gap: 0 !important;
    }
    
    /* Timeline reformatting for print list */
    .timeline {
        padding-left: 0 !important;
    }
    
    .timeline::before, .timeline-dot {
        display: none !important;
    }
    
    .timeline-item {
        margin-bottom: 25px !important;
        page-break-inside: avoid;
    }
    
    .timeline-date {
        font-size: 11pt !important;
        font-weight: bold !important;
        color: #000000 !important;
        float: right !important;
    }
    
    .timeline-role {
        font-size: 12pt !important;
        color: #000000 !important;
    }
    
    .timeline-org {
        font-size: 11pt !important;
        color: #444444 !important;
        margin-bottom: 8px !important;
    }
    
    .role-badge {
        display: none !important;
    }
    
    .tags {
        display: none !important;
    }
    
    /* Skills matrix print layout */
    .skills-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .skill-card {
        padding: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        page-break-inside: avoid;
    }
    
    .skill-card.filtered-out {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .skill-header {
        margin-bottom: 4px !important;
    }
    
    .skill-icon {
        display: none !important;
    }
    
    .skill-card h3 {
        font-size: 11pt !important;
        font-weight: bold !important;
        color: #000000 !important;
    }
    
    .skill-card p {
        font-size: 9.5pt !important;
        color: #333333 !important;
    }
    
    /* Projects print layout */
    .projects-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .project-card {
        padding: 0 !important;
        page-break-inside: avoid;
    }
    
    .project-head {
        display: none !important;
    }
    
    .project-card h3 {
        font-size: 11pt !important;
        font-weight: bold !important;
        color: #000000 !important;
        margin-bottom: 4px !important;
    }
    
    .project-card p {
        font-size: 9.5pt !important;
        color: #333333 !important;
    }
    
    /* Contact Section for print */
    .section-contact {
        page-break-before: always;
    }
    
    .contact-grid {
        display: block !important;
    }
    
    .contact-info h3 {
        font-size: 12pt !important;
        color: #000000 !important;
    }
    
    .contact-info p {
        display: none !important;
    }
    
    .contact-methods {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 30px !important;
    }
    
    .contact-method {
        gap: 0 !important;
    }
    
    .method-icon {
        display: none !important;
    }
    
    .method-label {
        font-size: 8pt !important;
        color: #444444 !important;
    }
    
    .method-val {
        font-size: 10pt !important;
        color: #000000 !important;
    }
}
