/* ==========================================================================
   PALAK HARINKHEDE - FIGMA INSPIRED AI ENGINEER PORTFOLIO DESIGN SYSTEM
   Dark Futuristic Glassmorphism with Glowing Violet/Cyan Accents & Network Canvas
   ========================================================================== */

:root {
    /* Colors matching reference design */
    --bg-dark: #060814;
    --bg-surface: #0b0e21;
    --bg-card: rgba(15, 19, 42, 0.7);
    --border-card: rgba(139, 92, 246, 0.2);
    --border-glow: rgba(168, 85, 247, 0.5);

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #c084fc 0%, #9333ea 50%, #6366f1 100%);
    --text-gradient: linear-gradient(135deg, #e9d5ff 0%, #c084fc 50%, #818cf8 100%);
    --cyan-gradient: linear-gradient(135deg, #38bdf8, #818cf8);

    /* Accents */
    --purple-main: #a855f7;
    --purple-glow: rgba(168, 85, 247, 0.35);
    --cyan-main: #38bdf8;
    --pink-main: #ec4899;

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Geometry */
    --container-max: 1200px;
    --nav-height: 76px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 35px rgba(168, 85, 247, 0.25);
}

/* Light Theme Overrides (High-Contrast & Crisp Visibility) */
body.light-theme {
    --bg-dark: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --border-card: rgba(147, 51, 234, 0.2);
    --border-glow: rgba(147, 51, 234, 0.4);

    --text-main: #0f172a;
    --text-muted: #334155;
    --text-dim: #64748b;

    --hero-sub-color: #0f172a;
    --hero-pill-color: #581c87;
    --hero-pill-bg: rgba(147, 51, 234, 0.12);
    --hero-pill-border: rgba(147, 51, 234, 0.35);
    --hero-blue-color: #0284c7;
    --text-gradient: linear-gradient(135deg, #6b21a8 0%, #7c3aed 50%, #4f46e5 100%);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 25px rgba(147, 51, 234, 0.15);
}

body.light-theme .hero-main-title {
    text-shadow: 0 0 25px rgba(147, 51, 234, 0.2);
}

body.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .nav-link {
    color: #334155;
}

body.light-theme .nav-link:hover, body.light-theme .nav-link.active {
    color: #7c3aed;
}

body.light-theme .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

body.light-theme .btn-secondary:hover {
    background: rgba(147, 51, 234, 0.1);
    color: #7c3aed;
    border-color: #7c3aed;
}

body.light-theme .pill {
    background: rgba(124, 58, 237, 0.1);
    color: #581c87;
    border-color: rgba(124, 58, 237, 0.25);
}

body.light-theme .skill-percent {
    color: #7c3aed;
}

body.light-theme .form-group input, body.light-theme .form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    color: #0f172a;
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-theme .form-group input::placeholder, body.light-theme .form-group textarea::placeholder {
    color: #94a3b8;
}

body.light-theme .modal-content {
    background: #ffffff;
    color: #0f172a;
}

body.light-theme .connect-pill-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: #0f172a;
}

body.light-theme .connect-pill-btn:hover {
    background: #7c3aed;
    color: #ffffff;
}

body.light-theme #bg-canvas {
    opacity: 0.3;
}

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

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Interactive Constellation Network Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.65;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Glass Card Component */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

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

/* Gradient Typography */
.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-glow {
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-card);
}

.btn-secondary:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--purple-main);
    color: var(--purple-main);
}

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

.btn-outline:hover {
    background: var(--purple-main);
    color: #ffffff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.84rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-card);
    font-size: 1.1rem;
}

.btn-icon:hover {
    border-color: var(--purple-main);
    color: var(--purple-main);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--purple-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(6, 8, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.theme-toggle, .mobile-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--purple-main);
    color: var(--purple-main);
}

.icon-light { display: none; }
body.light-theme .icon-dark { display: none; }
body.light-theme .icon-light { display: block; }
.mobile-toggle { display: none; }

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.hero-title-clean {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-subtitle-clean {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 600;
    color: var(--hero-sub-color, #ffffff);
    margin-bottom: 24px;
}

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

.hero-icon-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.icon-badge-glow {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--purple-main);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.3);
    animation: float 4s ease-in-out infinite alternate;
}

.icon-badge-glow:nth-child(2) {
    animation-delay: 2s;
    color: var(--cyan-main);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

.hero-pill {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 20px;
    background: var(--hero-pill-bg, rgba(168, 85, 247, 0.15));
    border: 1px solid var(--hero-pill-border, rgba(168, 85, 247, 0.35));
    border-radius: var(--radius-pill);
    color: var(--hero-pill-color, #e9d5ff);
    margin-bottom: 20px;
}

.hero-blue-tag {
    font-size: 0.95rem;
    color: var(--hero-blue-color, var(--cyan-main));
    font-weight: 600;
    margin-bottom: 36px;
    letter-spacing: 0.02em;
}

/* Sections Header */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 10px;
}

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

/* About Me Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 50px;
    align-items: center;
}

.about-avatar-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.avatar-ring {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(135deg, var(--purple-main), var(--cyan-main));
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
    position: relative;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #1e1b4b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--purple-main);
}

.avatar-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.about-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.highlight-box {
    padding: 16px;
    text-align: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
}

.highlight-box i {
    font-size: 1.4rem;
    color: var(--purple-main);
    margin-bottom: 8px;
}

.highlight-box span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}

.about-quote {
    font-style: italic;
    color: var(--cyan-main);
    font-size: 1rem;
    border-left: 3px solid var(--cyan-main);
    padding-left: 16px;
}

/* Featured Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.project-top-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--purple-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

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

.project-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.pill {
    font-size: 0.78rem;
    font-family: var(--font-mono);
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.project-card-actions {
    display: flex;
    gap: 10px;
}

.project-card-actions .btn {
    flex: 1;
}

/* Experience Center Line Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--purple-main), var(--cyan-main));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 50px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--purple-main);
    box-shadow: 0 0 15px var(--purple-main);
    z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }

.timeline-card {
    padding: 28px;
}

.timeline-role {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-company {
    color: var(--cyan-main);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-date {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    margin-bottom: 16px;
}

.timeline-card ul {
    list-style: none;
    margin-bottom: 16px;
}

.timeline-card li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Tech Stack Animated Bars */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tech-category-card {
    padding: 32px;
}

.tech-category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 12px;
}

.skill-bar-item {
    margin-bottom: 18px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.skill-name {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-percent {
    color: var(--purple-main);
    font-family: var(--font-mono);
}

.progress-line {
    height: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-line span {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--purple-main), var(--cyan-main));
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    transition: width 1s ease-in-out;
}

/* Education Section */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.edu-card {
    padding: 28px;
}

.edu-year {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--cyan-main);
    margin-bottom: 6px;
}

.edu-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.edu-school {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.edu-grade {
    font-weight: 700;
    color: #34d399;
    font-size: 0.92rem;
}

/* Contact Section */
.connect-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.contact-form-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--purple-main);
    box-shadow: 0 0 15px var(--purple-glow);
}

.connect-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mascot-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, rgba(6, 8, 20, 0.8) 70%);
    border: 2px solid var(--purple-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--purple-main);
    box-shadow: 0 0 35px var(--purple-glow);
    margin-bottom: 20px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 25px rgba(168, 85, 247, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 45px rgba(168, 85, 247, 0.7); }
    100% { transform: scale(1); box-shadow: 0 0 25px rgba(168, 85, 247, 0.4); }
}

.connect-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.connect-links-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 360px;
}

.connect-pill-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.connect-pill-btn:hover {
    background: var(--purple-main);
    color: #ffffff;
    border-color: var(--purple-main);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--purple-glow);
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-card);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-close:hover { color: var(--purple-main); }

.modal-body ul {
    list-style: none;
    margin: 20px 0;
}

.modal-body li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.modal-body li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34d399;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

/* Technical Skills Resume Matrix */
.skills-grid-resume {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.skill-group-card {
    padding: 32px;
}

.skill-group-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--purple-main);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 12px;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-pill {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    color: var(--text-main);
    transition: var(--transition);
}

.skill-pill:hover {
    border-color: var(--purple-main);
    color: var(--purple-main);
    transform: translateY(-2px);
    box-shadow: 0 0 12px var(--purple-glow);
}

/* Responsive */
@media (max-width: 992px) {
    .projects-grid, .about-wrapper, .tech-stack-grid, .connect-wrapper, .edu-grid, .skills-grid-resume {
        grid-template-columns: 1fr;
    }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; text-align: left !important; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-dot { left: 12px !important; }
}
