/* CSS Design System & Cyberpunk Tech Theme */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'Fira Code', 'Courier New', monospace;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Heights & Widths */
    --header-height: 80px;
    --max-width: 1200px;
}

/* Dark Cyber Theme Variables (Default) */
[data-theme="dark"] {
    --bg-color: hsl(224, 25%, 5%);
    --bg-color-rgb: 10, 14, 23;
    --text-color: hsl(220, 15%, 94%);
    --text-muted: hsl(220, 12%, 65%);
    --border-color: rgba(168, 85, 247, 0.2);
    --card-bg: rgba(15, 23, 42, 0.65);
    --card-bg-hover: rgba(24, 34, 58, 0.85);
    --accent-color: hsl(265, 90%, 66%);
    --accent-color-rgb: 168, 85, 247;
    --accent-cyan: hsl(186, 100%, 50%);
    --accent-cyan-rgb: 6, 182, 212;
    --accent-emerald: hsl(158, 84%, 48%);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 40px rgba(168, 85, 247, 0.2);
    --glass-border: rgba(168, 85, 247, 0.15);
    --grid-opacity: 0.07;
    --term-bg: rgba(9, 13, 22, 0.95);
}

/* Light Cyber Theme Variables */
[data-theme="light"] {
    --bg-color: hsl(220, 25%, 97%);
    --bg-color-rgb: 245, 247, 251;
    --text-color: hsl(222, 30%, 12%);
    --text-muted: hsl(220, 15%, 42%);
    --border-color: rgba(124, 58, 237, 0.18);
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-bg-hover: rgba(255, 255, 255, 0.98);
    --accent-color: hsl(265, 85%, 52%);
    --accent-color-rgb: 124, 58, 237;
    --accent-cyan: hsl(186, 95%, 40%);
    --accent-cyan-rgb: 8, 145, 178;
    --accent-emerald: hsl(158, 84%, 38%);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 40px rgba(124, 58, 237, 0.12);
    --glass-border: rgba(124, 58, 237, 0.12);
    --grid-opacity: 0.08;
    --term-bg: rgba(15, 23, 42, 0.95);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    -webkit-font-smoothing: antialiased;
}

/* Cyber Scanline effect overlay */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 99;
    opacity: 0.3;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Background Gradients */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.18) 0%, rgba(var(--accent-color-rgb), 0) 70%);
    filter: blur(90px);
}

.bg-gradient::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-cyan-rgb), 0.12) 0%, rgba(var(--accent-cyan-rgb), 0) 65%);
    filter: blur(95px);
}

/* Grid Overlay Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, var(--border-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: var(--grid-opacity);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(var(--bg-color-rgb), 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: var(--transition-smooth);
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-code);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -0.5px;
    position: relative;
    transition: var(--transition-smooth);
}

.logo:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.5);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-code);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(var(--accent-cyan-rgb), 0.4);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Pulsing Status Badge */
.status-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-family: var(--font-code);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-emerald);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition-bounce);
    outline: none;
}

.theme-toggle-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.08);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

[data-theme="light"] .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

/* Common Section Styles */
section {
    padding: 8rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.code-section-tag {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-cyan));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    font-family: var(--font-code);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-cyan) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(var(--accent-color-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--accent-color-rgb), 0.5);
    filter: brightness(1.1);
}

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

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 4px 20px rgba(var(--accent-cyan-rgb), 0.2);
}

.btn-large {
    padding: 1.2rem 2.4rem;
    font-size: 1rem;
    border-radius: 12px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section Grid */
.hero-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.tech-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.tech-tag-pill svg {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1.2rem;
}

/* Interactive Terminal Widget */
.hero-terminal {
    width: 100%;
}

.terminal-card {
    background: var(--term-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    font-family: var(--font-code);
    font-size: 0.85rem;
}

.terminal-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--glass-border);
}

.terminal-dots {
    display: flex;
    gap: 0.4rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.close { background: #ef4444; }
.dot.min { background: #f59e0b; }
.dot.max { background: #10b981; }

.terminal-title {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.terminal-badge {
    font-size: 0.7rem;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.terminal-body {
    padding: 1.2rem;
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: #e2e8f0;
}

.term-line {
    line-height: 1.4;
    word-break: break-word;
}

.term-user { color: var(--accent-cyan); font-weight: 600; }
.term-user-sm { color: var(--accent-cyan); font-size: 0.8rem; white-space: nowrap; }
.term-path { color: var(--accent-color); }
.term-success { color: var(--accent-emerald); }
.term-info { color: #cbd5e1; padding-left: 0.5rem; border-left: 2px solid var(--accent-color); }

.term-code-block {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 6px;
    margin: 0.3rem 0;
}

.json-key { color: #f472b6; }
.json-str { color: #38bdf8; }
.json-num { color: #a7f3d0; }

.blink-cursor {
    animation: blink 1s infinite;
    color: var(--accent-cyan);
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-input-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--glass-border);
}

.terminal-input-bar input {
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-code);
    font-size: 0.85rem;
    outline: none;
    width: 100%;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.4rem;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-code);
    font-size: 0.8rem;
    margin-top: 1rem;
}

.scroll-arrow {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.4rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.detail-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 20px rgba(var(--accent-cyan-rgb), 0.15);
}

.detail-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.detail-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

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

/* Skills Section */
.skills-section {
    border-top: 1px solid var(--border-color);
}

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

.skill-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.skill-box:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    background-color: var(--card-bg-hover);
    box-shadow: 0 8px 30px rgba(var(--accent-color-rgb), 0.2);
}

.skill-box-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.skill-box-header svg {
    width: 26px;
    height: 26px;
    color: var(--accent-cyan);
}

.skill-box-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.skill-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.55;
}

/* Projects Section */
.projects-section {
    border-top: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

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

.project-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.project-card:hover {
    transform: translateY(-6px);
    background-color: var(--card-bg-hover);
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 40px rgba(var(--accent-cyan-rgb), 0.2);
}

.project-image-wrapper {
    width: 100%;
    height: 170px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.project-fallback-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-icon {
    width: 46px;
    height: 46px;
    stroke-width: 1.25px;
    color: var(--accent-cyan);
}

.p-img-1 { background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.15) 0%, rgba(var(--accent-cyan-rgb), 0.05) 100%); }
.p-img-2 { background: linear-gradient(135deg, rgba(var(--accent-cyan-rgb), 0.15) 0%, rgba(16, 185, 129, 0.05) 100%); }
.p-img-3 { background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(var(--accent-color-rgb), 0.05) 100%); }

.project-card:hover .project-fallback-img {
    transform: scale(1.08);
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-category {
    font-family: var(--font-code);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.3;
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

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

.ptag {
    font-family: var(--font-code);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--accent-cyan);
    background-color: rgba(var(--accent-cyan-rgb), 0.08);
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.2);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

/* Experience Section */
.experience-section {
    border-top: 1px solid var(--border-color);
}

.timeline {
    position: relative;
    max-width: 850px;
    padding-left: 1.8rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: calc(100% - 15px);
    width: 2px;
    background: linear-gradient(180deg, var(--accent-color), var(--accent-cyan));
}

.timeline-item {
    position: relative;
    padding-bottom: 4rem;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1.8rem - 5px);
    top: 6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 2px solid var(--accent-cyan);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.timeline-item:hover::before {
    background-color: var(--accent-cyan);
    transform: scale(1.4);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-duration {
    font-family: var(--font-code);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-cyan);
}

.timeline-company {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.location-tag {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 0.4rem;
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-list {
    list-style: none;
    padding-left: 0;
}

.timeline-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
}

.timeline-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-family: var(--font-code);
    font-weight: bold;
}

/* Education Section */
.education-section {
    border-top: 1px solid var(--border-color);
}

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

.edu-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.edu-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 6px 25px rgba(var(--accent-color-rgb), 0.15);
}

.edu-header {
    margin-bottom: 1rem;
}

.edu-date {
    display: block;
    font-family: var(--font-code);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 0.4rem;
}

.edu-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.edu-degree {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
}

.edu-coursework {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
    font-weight: 300;
}

.edu-coursework strong {
    color: var(--text-color);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    border-top: 1px solid var(--border-color);
    padding-bottom: 10rem;
}

.contact-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3.5rem;
}

.contact-action {
    margin-bottom: 2.5rem;
}

.contact-details-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-code);
    font-size: 0.9rem;
    font-weight: 400;
}

.contact-detail-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent-cyan);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-code);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.contact-social svg {
    width: 18px;
    height: 18px;
}

.contact-social:hover {
    color: var(--accent-cyan);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-copy {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Fade-in Animations on scroll helper classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 1.5rem;
    }
    
    .site-header {
        height: 70px;
    }
    
    :root {
        --header-height: 70px;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .status-text {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-card {
        padding: 3rem 1.5rem;
    }
    
    .contact-links {
        gap: 1.5rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
    
    .timeline-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}
