/* ==========================================================================
   Muhammad Naveed Ul Hassan - Premium Technology Portfolio Stylesheet
   Designed for: Ireland & European IT/AI Recruiter Audience
   Theme: High Contrast Minimal Slate Technology Blueprint
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Theme: Premium Space Dark (Default) */
    --bg-primary: #090d16;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #3b82f6; /* Slate Blue Accent */
    --accent-hover: #2563eb;
    --accent-soft: rgba(59, 130, 246, 0.1);
    --border-color: #1e293b;
    --border-hover: #334155;
    --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
    
    /* Layout Dimensions */
    --max-width: 1200px;
    --header-height: 72px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    
    /* Animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Override Variables */
body.light-mode {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.08);
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --card-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base Styles
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    transition: color var(--transition-smooth);
}

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

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

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

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

.section-padding {
    padding: 5rem 0;
}

/* Skip link for keyboard accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* --------------------------------------------------------------------------
   3. Buttons & Component Actions
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary) !important;
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    border-color: var(--border-hover);
}

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

.btn-outline:hover {
    background-color: var(--accent-soft);
    border-color: var(--accent);
}

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

/* --------------------------------------------------------------------------
   4. Sticky Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 99;
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-fast);
}

body.light-mode .navbar {
    background-color: rgba(248, 250, 252, 0.8);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent);
}

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

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

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

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

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

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

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

/* Light/Dark Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.theme-toggle-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background-color: var(--bg-tertiary);
}

/* Show/hide icons depending on theme */
.theme-toggle-btn .sun-icon {
    display: none;
    width: 18px;
    height: 18px;
}

.theme-toggle-btn .moon-icon {
    display: block;
    width: 18px;
    height: 18px;
}

body.light-mode .theme-toggle-btn .sun-icon {
    display: block;
}

body.light-mode .theme-toggle-btn .moon-icon {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* --------------------------------------------------------------------------
   5. Mobile Drawer Navigation
   -------------------------------------------------------------------------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 98;
    padding: 6rem 2rem 2rem 2rem;
    transition: right var(--transition-smooth);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.mobile-link:hover {
    color: var(--text-primary);
}

.mobile-cv-btn {
    margin-top: 1rem;
    width: 100%;
}

/* Mobile Drawer Overlay Backdrop */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 97;
    display: none;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    padding-top: calc(var(--header-height) + 3.5rem);
    padding-bottom: 4.5rem;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-soft);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}

.status-dot.pulsing {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

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

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.gradient-text {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.hero-tagline .divider {
    color: var(--border-color);
    margin: 0 0.5rem;
}

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

.hero-meta {
    margin-bottom: 2rem;
}

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

.meta-icon {
    width: 16px;
    height: 16px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link-item:hover {
    color: var(--text-primary);
}

.linkedin-placeholder {
    color: var(--text-muted);
    cursor: not-allowed;
}

.social-icon {
    width: 18px;
    height: 18px;
}

/* --------------------------------------------------------------------------
   7. Reusable Section Layout Components
   -------------------------------------------------------------------------- */
.section-header {
    margin-bottom: 2.5rem;
    max-width: 680px;
}

.section-pretitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-intro-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   8. About Section
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.developer-philosophy-card {
    display: flex;
    gap: 1.25rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    margin-top: 2rem;
}

.philosophy-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--accent);
}

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

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

.about-metrics-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
}

.box-title {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.box-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.pillars-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.pillar-item {
    display: flex;
    gap: 1.25rem;
}

.pillar-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    opacity: 0.8;
}

.pillar-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.pillar-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   9. Core Expertise Section
   -------------------------------------------------------------------------- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expertise-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--card-shadow);
}

.expertise-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 30px -4px rgba(0,0,0,0.1);
}

.expertise-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    background-color: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.expertise-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.expertise-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

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

/* --------------------------------------------------------------------------
   10. Featured Projects Layout
   -------------------------------------------------------------------------- */
.featured-projects-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: border-color var(--transition-smooth);
}

.project-card:hover {
    border-color: var(--border-hover);
}

/* SVG Graphic Mockup Panels */
.project-preview-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-tertiary);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border-color);
}

.preview-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-smooth);
}

.project-card:hover .preview-svg {
    transform: scale(1.02);
}

.project-info {
    padding: 2.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-meta-row {
    margin-bottom: 1rem;
}

.project-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.project-title {
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.project-details-list {
    margin-bottom: 1.5rem;
}

.project-details-list h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-details-list ul {
    list-style: none;
}

.project-details-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
}

.project-details-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.project-role-tag {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.project-role-tag strong {
    color: var(--text-primary);
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-badge {
    font-size: 0.8rem;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.private-demo-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* --------------------------------------------------------------------------
   11. Other Projects Index (Interactive Grid)
   -------------------------------------------------------------------------- */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.filter-btn {
    background: none;
    border: 1px solid transparent;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--border-radius-md);
    transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: var(--accent-soft);
    color: var(--accent);
    border-color: rgba(59, 130, 246, 0.2);
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-grid-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition-fast), transform var(--transition-fast), opacity 0.3s ease-out;
}

.project-grid-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.grid-card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.status-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius-sm);
}

.status-badge.live {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-badge.private {
    background-color: var(--bg-tertiary);
    color: var(--text-muted);
}

.status-badge.progress {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.project-grid-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.project-grid-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.card-techs span {
    font-size: 0.75rem;
    background-color: var(--bg-tertiary);
    color: var(--text-muted);
    padding: 0.15rem 0.5rem;
    border-radius: var(--border-radius-sm);
}

.card-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
}

.btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.btn-text:hover {
    color: var(--accent-hover);
}

.private-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* --------------------------------------------------------------------------
   12. Professional Experience Timeline
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 2px;
    height: 98%;
    background-color: var(--border-color);
}

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

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

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2px solid var(--accent);
    z-index: 1;
    transition: background-color var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
    background-color: var(--accent);
}

.timeline-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.timeline-header {
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

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

.timeline-company .loc-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.timeline-tasks {
    list-style: none;
}

.timeline-tasks li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-tasks li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.7rem;
    top: 1px;
}

/* --------------------------------------------------------------------------
   13. Technical Skills
   -------------------------------------------------------------------------- */
.skills-container-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.skill-category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.skill-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-list li {
    font-size: 0.85rem;
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   14. Education & Languages
   -------------------------------------------------------------------------- */
.education-languages-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.education-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edu-card {
    display: flex;
    gap: 1.5rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--card-shadow);
}

.edu-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.edu-details h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

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

.languages-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lang-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lang-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.lang-name {
    font-weight: 600;
}

.lang-level {
    color: var(--text-secondary);
}

.lang-bar-container {
    height: 6px;
    background-color: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
}

.lang-bar {
    height: 100%;
    background-color: var(--accent);
    border-radius: 10px;
}

/* --------------------------------------------------------------------------
   15. GitHub Integration Banner
   -------------------------------------------------------------------------- */
.github-banner-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    box-shadow: var(--card-shadow);
}

.github-icon-big {
    flex-shrink: 0;
    color: var(--accent);
}

.github-icon-big svg {
    width: 64px;
    height: 64px;
}

.github-banner-content h3 {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.github-banner-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

/* --------------------------------------------------------------------------
   16. Contact & Footer
   -------------------------------------------------------------------------- */
.contact-container {
    max-width: 900px;
}

.contact-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.contact-header h2 {
    font-size: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.contact-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

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

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-value-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.contact-value-link:hover {
    color: var(--accent);
}

.contact-value-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.relocation-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Clipboard Trigger button */
.btn-copy {
    position: relative;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn-copy:hover {
    background-color: var(--border-color);
    color: var(--text-primary);
}

.btn-copy .tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    white-space: nowrap;
}

.btn-copy:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.contact-socials-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.contact-social-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.contact-social-item:hover {
    color: var(--text-primary);
}

.placeholder-social {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Footer Section */
.footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    padding: 3rem 0;
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

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

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

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.footer-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.footer-right p {
    margin-bottom: 0.25rem;
}

.footer-right p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   17. Responsive Layout Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet (1024px and down) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card {
        grid-template-columns: 1fr;
    }
    
    .project-preview-mockup {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 3rem;
    }
    
    .other-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-container-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .education-languages-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .github-banner-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2.5rem;
    }
}

/* Mobile (768px and down) */
@media (max-width: 768px) {
    .section-padding {
        padding: 3.5rem 0;
    }

    .nav-menu {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Animate menu toggle to 'X' when open */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

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

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-intro {
        font-size: 0.95rem;
    }

    .hero-socials {
        flex-direction: column;
        gap: 1rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .project-info {
        padding: 2rem;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .other-projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-container-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-right {
        text-align: center;
    }
}

/* Small mobile (480px and down) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.15rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
    }
}
