/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    --bg-primary: #030712;
    --bg-secondary: #0b0f19;
    --bg-tertiary: #111827;
    --bg-accent: rgba(15, 23, 42, 0.75);
    
    --accent-color: #00f2fe;
    --accent-secondary: #4facfe;
    --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --accent-glow: rgba(0, 242, 254, 0.15);
    --accent-border: rgba(0, 242, 254, 0.25);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --success-color: #10b981;
    --success-glow: rgba(16, 185, 129, 0.15);
    --warning-color: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.15);
    --error-color: #ef4444;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    --header-height: 80px;
    --status-height: 30px;
    --container-max: 1200px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(0, 242, 254, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(79, 172, 254, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

/* ==========================================================================
   SYSTEM STATUS BAR
   ========================================================================== */
.system-status-bar {
    height: var(--status-height);
    background-color: #020617;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    gap: 1.5rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background-color: var(--success-color);
    box-shadow: 0 0 8px var(--success-color);
}

.status-dot.latency {
    background-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

.status-dot.secure {
    background-color: var(--warning-color);
    box-shadow: 0 0 8px var(--warning-color);
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.main-header {
    height: var(--header-height);
    background-color: rgba(3, 7, 18, 0.7);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: var(--status-height);
    width: 100%;
    z-index: 999;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 1.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-color);
    letter-spacing: 2px;
}

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

.nav-toggle .bar {
    width: 28px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

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

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

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

.btn-contact {
    border: 1px solid var(--accent-border);
    padding: 0.5rem 1.25rem !important;
    border-radius: 4px;
    background-color: rgba(0, 242, 254, 0.03);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.05);
}

.btn-contact:hover {
    background: var(--accent-gradient);
    color: var(--bg-primary) !important;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + var(--status-height) + 4rem);
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.6) 0%, rgba(3, 7, 18, 0.95) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.tagline {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 70%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
}

.hero-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
}

/* Simulated CLI Terminal Dashboard */
.hero-terminal {
    background-color: #020617;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 20px 40px var(--glass-shadow), 0 0 30px rgba(0, 242, 254, 0.05);
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.825rem;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    height: 480px;
    max-width: 550px;
    margin-left: auto;
    width: 100%;
}

.terminal-header {
    background-color: #0f172a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.terminal-dot.red { background-color: #ef4444; }
.terminal-dot.yellow { background-color: #f59e0b; }
.terminal-dot.green { background-color: #10b981; }

.terminal-title {
    color: var(--text-secondary);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
}

.terminal-body {
    padding: 1.25rem;
    flex-grow: 1;
    overflow-y: auto;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cmd-line {
    color: #f8fafc;
}

.cmd-line .prompt {
    color: #38bdf8;
    margin-right: 0.5rem;
}

.status-msg {
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    padding: 0.75rem;
    white-space: pre-wrap;
    color: #cbd5e1;
}

.badge {
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.neofetch-output {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.25rem;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    padding: 0.75rem;
}

.linux-logo {
    font-size: 4.5rem;
    color: var(--accent-color);
    text-align: center;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

.neofetch-details p {
    margin-bottom: 0.25rem;
}

.neo-key {
    color: #38bdf8;
    font-weight: 500;
}

.text-success {
    color: var(--success-color);
}

.terminal-interactive-area {
    margin-top: 0.5rem;
}

.terminal-response {
    color: #94a3b8;
    padding-left: 1rem;
    margin-top: 0.25rem;
    border-left: 2px solid #334155;
    white-space: pre-line;
}

.terminal-input-wrapper {
    background-color: #0b0f19;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-prompt {
    color: #38bdf8;
    white-space: nowrap;
}

#cliInput {
    background: transparent;
    color: #ffffff;
    width: 100%;
    caret-color: var(--accent-color);
}

.cursor-blink {
    animation: blink 1s step-end infinite;
    color: var(--accent-color);
}

@keyframes blink {
    from, to { opacity: 0; }
    50% { opacity: 1; }
}

.scroll-down-btn {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--text-secondary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
}

/* ==========================================================================
   SECTIONS GLOBAL LAYOUT
   ========================================================================== */
section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-subtitle {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: lowercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.accent-line {
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 1rem auto 0 auto;
    border-radius: 1.5px;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */
.about-section {
    background-color: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
    align-items: start;
}

.about-image-card {
    position: relative;
}

.glow-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: grayscale(10%) contrast(105%);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 242, 254, 0.25) 100%);
    pointer-events: none;
}

.status-panel {
    background-color: #020617;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 1.25rem;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.status-title {
    color: var(--accent-color);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.status-row:last-child {
    margin-bottom: 0;
}

.status-row span:first-child {
    color: var(--text-secondary);
}

.status-row span:last-child {
    color: #ffffff;
    font-weight: 500;
}

.about-text-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.about-desc {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.abilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.ability-item {
    display: flex;
    gap: 1rem;
}

.ability-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 6px;
    background-color: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.03);
    transition: var(--transition-smooth);
}

.ability-item:hover .ability-icon {
    background-color: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.ability-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #ffffff;
}

.ability-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   TECHNICAL SKILLS SECTION
   ========================================================================== */
.skills-section {
    background-color: var(--bg-primary);
}

.skills-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.search-bar {
    position: relative;
    max-width: 380px;
    width: 100%;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-bar input {
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    color: #ffffff;
    width: 100%;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.search-bar input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.15rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.2);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
    gap: 2rem;
}

.skill-category-card {
    background-color: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.skill-category-card:hover {
    border-color: rgba(0, 242, 254, 0.2);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.05);
    transform: translateY(-3px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    font-size: 1.4rem;
    color: var(--accent-color);
}

.category-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.skills-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}

.skill-info span:first-child {
    color: var(--text-primary);
}

.skill-info .skill-perc {
    font-family: var(--font-mono);
    color: var(--accent-color);
}

.progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--accent-color);
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Core Technology Stack Grid */
.tech-stack-container {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.tech-stack-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background-color: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.tech-item i, .tech-item svg {
    font-size: 2.25rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.tech-item span {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

.tech-item:hover {
    border-color: var(--accent-border);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.08);
    transform: translateY(-3px);
}

.tech-item:hover i, .tech-item:hover svg {
    color: var(--accent-color);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.3));
}

/* ==========================================================================
   PROFESSIONAL EXPERIENCE SECTION
   ========================================================================== */
.experience-section {
    background-color: var(--bg-secondary);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

.timeline-line {
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-color) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.25);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
}

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

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.25rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #020617;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 0.7rem;
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    transform: scale(1.15);
}

.timeline-content {
    background-color: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2.25rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.05);
}

.time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-period {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-color);
    background-color: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.job-company {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.job-dept {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}

.job-desc {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.job-responsibilities {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.job-responsibilities li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.5;
}

.job-responsibilities li i {
    color: var(--accent-color);
    font-size: 0.75rem;
    margin-top: 0.35rem;
}

/* ==========================================================================
   KEY TECHNICAL PROJECTS SECTION
   ========================================================================== */
.projects-section {
    background-color: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
    gap: 2rem;
}

.project-card {
    background-color: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2.25rem;
    display: flex;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.project-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.06);
    transform: translateY(-3px);
}

.project-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 8px;
    background-color: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition-smooth);
}

.project-card:hover .project-icon {
    background-color: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.project-body {
    display: flex;
    flex-direction: column;
}

.project-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* ==========================================================================
   ACHIEVEMENTS / STATS SECTION
   ========================================================================== */
.achievements-section {
    background: radial-gradient(circle at center, #0c1221 0%, var(--bg-primary) 100%);
    padding: 5rem 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem 1.5rem;
    background-color: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: rgba(0, 242, 254, 0.15);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.03);
}

.stat-icon {
    font-size: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

.stat-number-wrapper {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

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

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2.25rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.05);
    transform: translateY(-3px);
}

.service-header-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    background-color: rgba(0, 242, 254, 0.05);
    width: 44px;
    height: 44px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 242, 254, 0.15);
}

.service-card:hover .service-icon {
    background-color: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-color);
}

.service-header-area h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.6;
}

/* ==========================================================================
   CERTIFICATIONS SECTION
   ========================================================================== */
.certifications-section {
    background-color: var(--bg-primary);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.cert-card {
    background-color: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.cert-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.05);
    transform: translateY(-3px);
}

.cert-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.cert-card:hover .cert-icon-wrapper {
    background-color: rgba(0, 242, 254, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.cert-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.cert-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
}

.cert-status.badge-active {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.cert-status.badge-pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.cert-card.cert-placeholder {
    opacity: 0.7;
    border-style: dashed;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: start;
}

.contact-info-panel {
    background-color: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 650px;
}

.contact-info-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-hint {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.channel-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-color);
}

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

.channel-details span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.channel-details a {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
}

.channel-details a:hover {
    color: var(--accent-color);
}

/* Route Diagram Visualization Widget */
.terminal-panel-status {
    background-color: #020617;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.25rem;
}

.status-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.route-nodes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.route-node {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    color: var(--text-secondary);
}

.route-node.text-active {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.route-arrow {
    color: var(--text-muted);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Form Styling */
.contact-form-card {
    background-color: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group label .required {
    color: var(--error-color);
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.input-wrapper input {
    width: 100%;
    background-color: #020617;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 0.8rem 1rem 0.8rem 2.75rem;
    color: #ffffff;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.input-wrapper textarea {
    width: 100%;
    background-color: #020617;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 0.8rem 1rem 0.8rem 2.75rem;
    color: #ffffff;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    resize: none;
}

.input-wrapper.text-area-wrapper i {
    top: 1.5rem;
}

.input-wrapper input:focus, .input-wrapper textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.input-wrapper input:focus + i, .input-wrapper textarea:focus + i {
    color: var(--accent-color);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    border: none;
}

.hidden {
    display: none !important;
}

.form-status-alert {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-status-alert.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status-alert.error {
    background-color: rgba(239, 68, 110, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 110, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #020612;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 450px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 1.5rem 2.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

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

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

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
}

.social-icons a:hover {
    background-color: rgba(0, 242, 254, 0.05);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-terminal {
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-card {
        max-width: 380px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .system-status-bar {
        display: none; /* Hide status bar on small mobile screens */
    }
    
    .main-header {
        top: 0;
    }
    
    .hero-section {
        padding-top: calc(var(--header-height) + 2rem);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #030712;
        border-top: 1px solid var(--border-color);
        transform: translateX(-100%);
        transition: transform 0.35s ease-in-out;
        z-index: 998;
        padding: 3rem 1.5rem;
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 1.75rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links ul {
        justify-content: flex-start;
    }
    
    .form-row.split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .abilities-grid {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
}

/* Hamburger menu animations */
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   PRINT STYLESHEET (@media print)
   ========================================================================== */
@media print {
    /* Hiding elements not required in a hardcopy CV */
    .system-status-bar,
    .main-header,
    .particles-bg,
    .hero-overlay,
    .hero-ctas,
    .terminal-input-wrapper,
    .hero-terminal,
    .scroll-down-btn,
    .section-divider,
    .skills-filter-container,
    .progress-bar,
    .contact-form-card,
    .terminal-panel-status,
    .social-icons,
    .main-footer,
    .accent-line,
    .ability-icon,
    .timeline-dot {
        display: none !important;
    }

    body {
        background-color: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt !important;
        line-height: 1.4 !important;
        font-family: 'Outfit', 'Helvetica Neue', Arial, sans-serif !important;
        background-image: none !important;
    }

    section {
        padding: 2rem 0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        page-break-inside: avoid;
    }

    .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .section-header {
        margin-bottom: 1.5rem !important;
        text-align: left !important;
    }

    .section-subtitle {
        color: #475569 !important;
        font-weight: bold !important;
    }

    .section-title {
        font-size: 16pt !important;
        color: #0f172a !important;
        border-bottom: 2px solid #0f172a !important;
        padding-bottom: 0.25rem !important;
    }

    /* Hero print styling */
    .hero-section {
        min-height: auto !important;
        padding-top: 1rem !important;
        padding-bottom: 1.5rem !important;
    }

    .hero-container {
        grid-template-columns: 1fr !important;
    }

    .hero-title {
        font-size: 24pt !important;
        color: #0f172a !important;
        -webkit-text-fill-color: initial !important;
        background: none !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-subtitle {
        font-size: 13pt !important;
        color: #475569 !important;
        border-left: none !important;
        padding-left: 0 !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-intro {
        font-size: 10.5pt !important;
        color: #1e293b !important;
        margin-bottom: 0 !important;
    }

    /* About print styling */
    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .about-image-card {
        display: none !important; /* Hide picture in printing unless needed */
    }

    .about-text-content h3 {
        display: none !important;
    }

    .about-lead {
        font-size: 11pt !important;
        color: #000000 !important;
        font-weight: bold !important;
    }

    .about-desc {
        color: #1e293b !important;
    }

    .abilities-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    .ability-details h4 {
        color: #0f172a !important;
    }

    .ability-details p {
        color: #475569 !important;
    }

    /* Skills print styling */
    .skills-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    .skill-category-card {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .skills-list {
        gap: 0.5rem !important;
    }

    .skill-info {
        font-size: 9.5pt !important;
    }

    .skill-info .skill-perc {
        display: none !important; /* Hide percentages in printer-friendly CV */
    }

    /* Timeline print styling */
    .timeline {
        padding-left: 0 !important;
    }

    .timeline-line {
        display: none !important;
    }

    .timeline-content {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        margin-bottom: 1.5rem !important;
        page-break-inside: avoid;
    }

    .time-header {
        flex-direction: row-reverse !important;
        justify-content: space-between !important;
        margin-bottom: 0.25rem !important;
    }

    .job-period {
        background: none !important;
        border: none !important;
        color: #475569 !important;
        font-weight: bold !important;
        padding: 0 !important;
    }

    .job-company {
        color: #0f172a !important;
        font-size: 11pt !important;
    }

    .job-title {
        font-size: 12pt !important;
        color: #000000 !important;
    }

    .job-desc {
        font-size: 10pt !important;
        color: #334155 !important;
        margin-bottom: 0.5rem !important;
    }

    .job-responsibilities {
        gap: 0.25rem !important;
    }

    .job-responsibilities li {
        font-size: 9.5pt !important;
        color: #1e293b !important;
    }

    .job-responsibilities li i {
        display: none !important;
    }

    .job-responsibilities li::before {
        content: "•";
        color: #000000 !important;
        margin-right: 0.5rem !important;
    }

    /* Projects print styling */
    .projects-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }

    .project-card {
        background: none !important;
        border: 1px solid #cbd5e1 !important;
        padding: 1rem !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }

    .project-icon {
        display: none !important;
    }

    .project-body h3 {
        color: #0f172a !important;
        font-size: 11pt !important;
    }

    .project-desc {
        font-size: 9pt !important;
        color: #334155 !important;
    }

    .project-tags span {
        border: 1px solid #e2e8f0 !important;
        color: #475569 !important;
        background: none !important;
    }

    /* Achievements print styling */
    .achievements-section {
        display: none !important; /* Hide achievements stat counters in print */
    }

    /* Services print styling */
    .services-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }

    .service-card {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        page-break-inside: avoid;
    }

    .service-header-area {
        margin-bottom: 0.25rem !important;
    }

    .service-icon {
        display: none !important;
    }

    .service-header-area h3 {
        color: #0f172a !important;
        font-size: 10.5pt !important;
    }

    .service-card p {
        font-size: 9pt !important;
        color: #334155 !important;
    }

    /* Certifications print styling */
    .certifications-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }

    .cert-card {
        background: none !important;
        border: 1px solid #cbd5e1 !important;
        padding: 1rem !important;
        box-shadow: none !important;
        text-align: left !important;
        align-items: flex-start !important;
        page-break-inside: avoid;
    }

    .cert-icon-wrapper {
        display: none !important;
    }

    .cert-body h3 {
        color: #0f172a !important;
        font-size: 10.5pt !important;
        min-height: auto !important;
        justify-content: flex-start !important;
    }

    .cert-issuer {
        margin-bottom: 0.25rem !important;
    }

    .cert-status {
        padding: 0 !important;
        border: none !important;
        background: none !important;
        color: #000000 !important;
        font-weight: bold !important;
    }
    
    .cert-card.cert-placeholder {
        display: none !important; /* Hide future certs in print */
    }

    /* Contact print styling */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-info-panel {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .contact-info-panel h3 {
        color: #0f172a !important;
        font-size: 14pt !important;
        border-bottom: 2px solid #0f172a !important;
        padding-bottom: 0.25rem !important;
        margin-bottom: 1rem !important;
    }

    .contact-hint {
        display: none !important;
    }

    .contact-channels {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 2rem !important;
    }

    .channel-icon {
        display: none !important;
    }

    .channel-details span {
        color: #64748b !important;
    }

    .channel-details a {
        color: #0f172a !important;
        font-size: 10pt !important;
    }
}

/* ==========================================================================
   BILINGUAL RTL OVERRIDES (ARABIC SUPPORT)
   ========================================================================== */
html[dir="rtl"] {
    font-family: 'Cairo', 'Tajawal', var(--font-main);
}

html[dir="rtl"] body {
    font-family: 'Cairo', 'Tajawal', var(--font-main);
}

html[dir="rtl"] .logo-title {
    font-family: var(--font-mono);
    letter-spacing: 0px;
}

html[dir="rtl"] .logo-subtitle {
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

html[dir="rtl"] .nav-link {
    font-weight: 600;
}

html[dir="rtl"] .hero-subtitle {
    border-right: 3px solid var(--accent-color);
    border-left: none;
    padding-right: 1rem;
    padding-left: 0;
}

html[dir="rtl"] .hero-terminal {
    direction: ltr; /* Keeping the developer terminal in LTR mode for realism */
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .about-lead {
    line-height: 1.6;
}

html[dir="rtl"] .ability-icon {
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.03);
}

html[dir="rtl"] .timeline {
    padding-right: 2.5rem;
    padding-left: 0;
}

html[dir="rtl"] .timeline-line {
    right: 0.5rem;
    left: auto;
    background: linear-gradient(180deg, var(--accent-color) 0%, rgba(255, 255, 255, 0.05) 100%);
}

html[dir="rtl"] .timeline-dot {
    right: -2.5rem;
    left: auto;
}

html[dir="rtl"] .job-responsibilities li i {
    transform: scaleX(-1); /* Flips arrow icon direction */
}

html[dir="rtl"] .input-wrapper i {
    right: 1rem;
    left: auto;
}

html[dir="rtl"] .input-wrapper input {
    padding: 0.8rem 2.75rem 0.8rem 1rem;
}

html[dir="rtl"] .input-wrapper textarea {
    padding: 0.8rem 2.75rem 0.8rem 1rem;
}

html[dir="rtl"] .search-bar i {
    right: 1rem;
    left: auto;
}

html[dir="rtl"] .search-bar input {
    padding-right: 2.5rem;
    padding-left: 1rem;
}

html[dir="rtl"] .route-arrow i {
    transform: scaleX(-1); /* Flips arrows in the routing diagram widget */
}

/* Mobile responsive RTL overrides */
@media (max-width: 768px) {
    html[dir="rtl"] .nav-menu {
        left: 0;
        right: auto;
        transform: translateX(100%);
    }
    
    html[dir="rtl"] .nav-menu.active {
        transform: translateX(0);
    }
    
    /* Timeline Mobile Spacing Improvements */
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-line {
        left: 0.5rem;
    }
    
    .timeline-dot {
        left: -1.5rem;
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
        top: 0.35rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    html[dir="rtl"] .timeline {
        padding-right: 1.5rem;
        padding-left: 0;
    }
    
    html[dir="rtl"] .timeline-line {
        right: 0.5rem;
        left: auto;
    }
    
    html[dir="rtl"] .timeline-dot {
        right: -1.5rem;
        left: auto;
    }
}
