/* ==========================================================================
   SHAH MAKHOOM HAYAT - RESUME & PORTFOLIO CSS
   Theme: Dark Modern Tech (OLED dark, cyan/indigo glows, glassmorphism)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEME TOKENS
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette - Dark Modern Tech (Default) */
    --bg-main: #090d16;
    --bg-card: rgba(15, 23, 42, 0.65);
    --bg-card-hover: rgba(30, 41, 59, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.3);

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-indigo: #6366f1;
    --accent-emerald: #10b981;
    --accent-purple: #a855f7;

    /* Brand logo gradient stops (theme-adaptive) */
    --logo-stop-1: #00f2fe;
    --logo-stop-2: #4facfe;
    --logo-stop-3: #818cf8;

    --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(99, 102, 241, 0.15));
    --gradient-badge: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(0, 242, 254, 0.2));

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.15);
    --backdrop-blur: blur(16px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(241, 245, 249, 0.95);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(79, 172, 254, 0.4);

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;

    --accent-cyan: #0284c7;
    --accent-blue: #2563eb;
    --accent-indigo: #4f46e5;

    /* Deeper logo stops for contrast on light backgrounds */
    --logo-stop-1: #0891b2;
    --logo-stop-2: #2563eb;
    --logo-stop-3: #6366f1;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 4px 20px rgba(37, 99, 235, 0.12);
}

/* Sepia Theme Variables */
[data-theme="sepia"] {
    --bg-main: #f4ecd8;
    --bg-card: rgba(250, 243, 227, 0.85);
    --bg-card-hover: rgba(240, 229, 204, 0.95);
    --border-color: rgba(92, 61, 30, 0.16);
    --border-glow: rgba(160, 98, 45, 0.45);

    --text-primary: #3b2a1a;
    --text-secondary: #59422e;
    --text-muted: #85694d;

    --accent-cyan: #a0622d;
    --accent-blue: #b4762f;
    --accent-indigo: #8b5a2b;
    --accent-emerald: #6b8e23;
    --accent-purple: #9c5a32;

    --gradient-primary: linear-gradient(135deg, #c98a3b 0%, #8b5a2b 100%);
    --gradient-glow: linear-gradient(135deg, rgba(201, 138, 59, 0.15), rgba(139, 90, 43, 0.15));
    --gradient-badge: linear-gradient(135deg, rgba(139, 90, 43, 0.18), rgba(201, 138, 59, 0.18));

    --shadow-sm: 0 4px 12px rgba(92, 61, 30, 0.08);
    --shadow-glow: 0 4px 20px rgba(160, 98, 45, 0.18);

    /* Warm logo gradient stops */
    --logo-stop-1: #c98a3b;
    --logo-stop-2: #a0622d;
    --logo-stop-3: #7a4a21;
}

/* Sepia element overrides — mirror every light-theme override with warm tones */
[data-theme="sepia"] .grid-overlay {
    background-image:
        linear-gradient(to right, rgba(92, 61, 30, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(92, 61, 30, 0.05) 1px, transparent 1px);
}

[data-theme="sepia"] .glow-orb { opacity: 0.16; }
[data-theme="sepia"] .orb-1 { background: #c98a3b; }
[data-theme="sepia"] .orb-2 { background: #e2b877; }
[data-theme="sepia"] .orb-3 { background: #a0622d; }

[data-theme="sepia"] .navbar { background: rgba(244, 236, 216, 0.88); }
[data-theme="sepia"] .footer { background: rgba(244, 236, 216, 0.95); }

[data-theme="sepia"] .hero-title {
    background: linear-gradient(135deg, #3b2a1a 30%, #a0622d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="sepia"] .contact-item { background: rgba(92, 61, 30, 0.04); }

[data-theme="sepia"] .contact-item:hover { background: rgba(160, 98, 45, 0.1); }

[data-theme="sepia"] .contact-item.static:hover { background: rgba(92, 61, 30, 0.04); }

[data-theme="sepia"] .skill-tag {
    background: rgba(139, 90, 43, 0.12);
    border-color: rgba(139, 90, 43, 0.32);
}

[data-theme="sepia"] .role-badge { border-color: rgba(139, 90, 43, 0.35); }

[data-theme="sepia"] .btn-primary {
    color: #faf3e3;
    box-shadow: 0 4px 15px rgba(160, 98, 45, 0.3);
}

[data-theme="sepia"] .btn-primary:hover { box-shadow: 0 6px 20px rgba(160, 98, 45, 0.45); }

[data-theme="sepia"] .filter-btn:hover,
[data-theme="sepia"] .filter-btn.active {
    color: #faf3e3;
    box-shadow: 0 4px 12px rgba(160, 98, 45, 0.25);
}

[data-theme="sepia"] .timeline::before {
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-indigo), rgba(92, 61, 30, 0.08));
}

[data-theme="sepia"] .timeline-marker {
    background: #f4ecd8;
    box-shadow: 0 0 12px rgba(160, 98, 45, 0.35);
}

[data-theme="sepia"] mark.search-highlight {
    background: rgba(201, 138, 59, 0.35);
    color: #3b2a1a;
}

[data-theme="sepia"] .toast { color: #faf3e3; }

[data-theme="sepia"] .nav-brand:hover .brand-logo {
    filter: drop-shadow(0 0 8px rgba(201, 138, 59, 0.55));
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

/* --------------------------------------------------------------------------
   3. BACKGROUND CYBER GRID ANIMATION
   -------------------------------------------------------------------------- */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

[data-theme="light"] .grid-overlay {
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    background: #6366f1;
}

.orb-2 {
    bottom: -15%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: #00f2fe;
    animation-delay: -7s;
}

.orb-3 {
    top: 40%;
    left: 30%;
    width: 35vw;
    height: 35vw;
    background: #a855f7;
    animation-delay: -14s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.1); }
    100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
    transition: var(--transition);
}

[data-theme="light"] .navbar {
    background: rgba(248, 250, 252, 0.85);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.brand-logo {
    width: 34px;
    height: 34px;
    display: block;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-brand:hover .brand-logo {
    transform: scale(1.08) rotate(-4deg);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.5));
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

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

}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   5. BUTTONS & UI COMPONENTS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #090d16;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

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

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

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.05);
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.825rem;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.icon-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: rotate(15deg);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    padding: 3.5rem 0 2.5rem 0;
}

.hero-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

/* Non-clickable contact chip (e.g. location) */
.contact-item.static {
    cursor: default;
}

.contact-item.static:hover {
    border-color: var(--border-color);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .contact-item.static:hover {
    background: rgba(0, 0, 0, 0.02);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-title {
    background: linear-gradient(135deg, #0f172a 30%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 1.75rem;
}

/* Contact Items Bar */
.contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
    font-family: var(--font-mono);
    cursor: pointer;
}

[data-theme="light"] .contact-item {
    background: rgba(0, 0, 0, 0.02);
}

.contact-item:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
}

.contact-item .icon {
    color: var(--accent-cyan);
}

.contact-item .copy-icon {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   7. METRICS STATS GRID
   -------------------------------------------------------------------------- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.metric-card {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gradient-badge);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.metric-data {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. SKILLS SECTION & FILTERS
   -------------------------------------------------------------------------- */
.section {
    padding: 3.5rem 0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--accent-cyan);
    font-size: 1.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.skills-filter {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.filter-btn {
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-primary);
    color: #090d16;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.25);
}

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

.skill-category-card {
    padding: 1.75rem;
}

.skill-cat-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.text-cyan { color: var(--accent-cyan); }
.text-blue { color: var(--accent-blue); }
.text-purple { color: var(--accent-purple); }

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.35);
    font-size: 0.85rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   9. EXPERIENCE TIMELINE & LIVE SEARCH
   -------------------------------------------------------------------------- */
.experience-search-bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1.25rem;
    margin-bottom: 2rem;
}

.search-icon {
    color: var(--text-muted);
}

#exp-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-sans);
}

#exp-search-input::placeholder {
    color: var(--text-muted);
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    cursor: pointer;
}

/* Timeline Layout */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 17px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-indigo), rgba(255, 255, 255, 0.05));
}

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

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

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
    z-index: 2;
}

/* Company logos inside timeline markers */
.timeline-marker img {
    width: 62%;
    height: 62%;
    object-fit: contain;
    display: block;
}

.timeline-content {
    padding: 2rem;
    margin-left: 1rem;
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.role-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.company-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-full);
    background: var(--gradient-badge);
    color: var(--text-secondary);
    border: 1px solid rgba(99, 102, 241, 0.35);
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.role-badge i {
    color: var(--accent-cyan);
    font-size: 0.7rem;
}

.role-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.role-summary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--gradient-badge);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.achievement-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.achievement-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.check-icon {
    color: var(--accent-cyan);
    font-size: 0.85rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* Search Highlight */
mark.search-highlight {
    background: rgba(0, 242, 254, 0.3);
    color: #ffffff;
    border-radius: 2px;
    padding: 0 2px;
}

/* --------------------------------------------------------------------------
   10. EDUCATION SECTION
   -------------------------------------------------------------------------- */
.education-card {
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.edu-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-badge);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.edu-degree {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.edu-school {
    font-size: 1.05rem;
    color: var(--accent-cyan);
    margin-bottom: 0.35rem;
}

.edu-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    display: block;
    margin-bottom: 0.75rem;
}

.edu-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   11. FOOTER & TOAST
   -------------------------------------------------------------------------- */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    background: rgba(9, 13, 22, 0.95);
}

[data-theme="light"] .footer {
    background: rgba(248, 250, 252, 0.95);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-brand .brand-logo {
    width: 24px;
    height: 24px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
}

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

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-cyan);
    color: #090d16;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    pointer-events: none;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   12. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Can be toggled if needed, or simplified for mobile */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .timeline {
        padding-left: 1.25rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -1.25rem;
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .timeline-content {
        padding: 1.25rem;
        margin-left: 0.5rem;
    }

    .education-card {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --------------------------------------------------------------------------
   13. PRINT / PDF STYLESHEET OPTIMIZATION (@media print)
   -------------------------------------------------------------------------- */
@media print {
    body {
        background: #ffffff !important;
        color: #0f172a !important;
        font-size: 11pt;
    }

    .cyber-bg, .navbar, .skills-filter, .experience-search-bar, .print-hide, .toast {
        display: none !important;
    }

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

    .glass-panel {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-bottom: 1rem !important;
    }

    .hero-title {
        font-size: 24pt !important;
        color: #0f172a !important;
        -webkit-text-fill-color: initial !important;
    }

    .hero-subtitle {
        font-size: 14pt !important;
        color: #0284c7 !important;
    }

    .timeline::before {
        display: none !important;
    }

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

    .timeline-content {
        margin-left: 0 !important;
        padding: 0 !important;
    }

    .section {
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }

    .skill-tag {
        border: 1px solid #cbd5e1 !important;
        color: #0f172a !important;
        background: #f1f5f9 !important;
    }

    a {
        text-decoration: none !important;
        color: #0284c7 !important;
    }
}
