/* 
 * Pranav Kumar Agrawal - Premium Personal Brand Website Stylesheet
 * Custom designed light theme with modern SaaS (Stripe/Apple/Linear) aesthetics.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

:root {
    /* Stripe/Apple Light Color Palette */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-card: #FFFFFF;
    
    --text-primary: #0F172A; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    --text-muted: #94A3B8; /* Slate 400 */
    
    --accent-blue: #2563EB; /* Royal Blue */
    --accent-blue-rgb: 37, 99, 235;
    --border-color: rgba(15, 23, 42, 0.06);
    --border-hover: rgba(37, 99, 235, 0.25);
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Particle Canvas - Faint Blue Particles */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f8fafc 100%);
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Selection & Scrollbar */
::selection {
    background: rgba(37, 99, 235, 0.1);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Typography */
p {
    text-align: justify;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

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

/* Shared Components & Layouts */
section {
    padding: 100px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.section-tag {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 20px;
    font-weight: 600;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 650px;
    margin-bottom: 56px;
}

.gradient-text {
    background: linear-gradient(135deg, #0F172A 30%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--bg-primary);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: #CBD5E1;
    transform: translateY(-2px);
}

/* Header & Sticky Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-normal);
}

header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition-fast);
}

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

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

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

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 16px;
    font-family: 'Fira Code', monospace;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.hero-statement {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.4;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}

/* Profile Image Visual (Hero Right) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    position: relative;
    width: 340px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.profile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.profile-card:hover img {
    scale: 1.04;
}

.profile-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.75;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.about-feature-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.about-feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.about-feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Stats Section with animated counters */
.stats-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.stat-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.stat-count {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

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

/* Experience Section - Timeline */
.timeline-layout {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-left: 2px solid #E2E8F0;
    padding-left: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

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

.timeline-marker {
    position: absolute;
    left: -51px;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-blue);
    box-shadow: 0 0 0 6px var(--bg-primary);
    z-index: 2;
}

.timeline-year {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 8px;
    background: rgba(37, 99, 235, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.timeline-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.timeline-card h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.timeline-card .company {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 16px;
}

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

/* "What Drives Me" Section */
.why-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-bottom: 24px;
}

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

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

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 310px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.proj-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.proj-folder {
    color: var(--accent-blue);
}

.proj-links a {
    color: var(--text-secondary);
    margin-left: 12px;
}

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

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

.project-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.proj-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.proj-tech-list li {
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 6px;
}

/* LeetCode & Developer Dashboard Section */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.dashboard-title {
    font-size: 1.25rem;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    font-weight: 700;
}

.dashboard-title span {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: auto;
}

/* LeetCode Metrics Visualizer */
.leetcode-overview {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: center;
}

.leetcode-progress {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.leetcode-svg {
    transform: rotate(-90deg);
}

.leetcode-circle-bg {
    fill: none;
    stroke: rgba(15, 23, 42, 0.04);
    stroke-width: 10;
}

.leetcode-circle-val {
    fill: none;
    stroke: var(--accent-blue);
    stroke-dasharray: 377;
    stroke-dashoffset: 120;
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease;
}

.leetcode-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.lc-num {
    font-size: 1.85rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: block;
    line-height: 1.1;
}

.lc-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.leetcode-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lc-diff-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lc-diff-name {
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lc-diff-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.lc-easy-dot { background-color: #10B981; }
.lc-med-dot { background-color: #F59E0B; }
.lc-hard-dot { background-color: #EF4444; }

.lc-diff-nums {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
}

.lc-diff-nums span {
    color: var(--text-muted);
}

.lc-bar {
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.lc-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.lc-bar-fill.easy { background-color: #10B981; width: 44%; }
.lc-bar-fill.medium { background-color: #F59E0B; width: 46%; }
.lc-bar-fill.hard { background-color: #EF4444; width: 10%; }

/* GitHub Showcase Contribution Map */
.github-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.github-grid-container {
    overflow-x: auto;
    padding-bottom: 8px;
}

.contrib-grid {
    display: grid;
    grid-template-rows: repeat(7, 10px);
    grid-auto-flow: column;
    gap: 3px;
    width: max-content;
}

.contrib-cell {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background-color: #F1F5F9;
}

.contrib-cell.lvl-1 { background-color: #D1FAE5; }
.contrib-cell.lvl-2 { background-color: #A7F3D0; }
.contrib-cell.lvl-3 { background-color: #34D399; }
.contrib-cell.lvl-4 { background-color: #059669; }

.github-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.github-meta-legend {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.achievement-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.achievement-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.achievement-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-bottom: 24px;
}

.achievement-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 700;
}

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

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    transition: var(--transition-fast);
}

.contact-icon svg,
.contact-icon img {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    object-fit: contain;
    transition: var(--transition-fast);
}

.contact-card:hover .contact-icon {
    border-color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.05);
}

.contact-card-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    font-weight: 600;
}

.contact-card-text a,
.contact-card-text p {
    font-weight: 600;
    font-size: 1rem;
}

.contact-card-text a:hover {
    color: var(--accent-blue);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-md);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-blue);
    background-color: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-status {
    margin-top: 16px;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    display: none;
}

.form-status.success {
    color: #10B981;
    display: block;
}

.form-status.error {
    color: #EF4444;
    display: block;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    padding: 60px 24px;
    text-align: center;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.footer-tagline span {
    color: var(--accent-blue);
}

.footer-socials {
    display: flex;
    gap: 24px;
}

.footer-socials a {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a svg {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    transition: var(--transition-fast);
}

.footer-socials a img {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-fast);
}

.footer-socials a:hover img {
    filter: grayscale(0%) opacity(1);
}

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

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

/* Responsive breakdowns */
@media (max-width: 1024px) {
    section {
        padding: 80px 24px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-statement {
        font-size: 1.3rem;
    }
    
    .hero-intro {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .btn-container {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .why-work-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    header {
        height: 70px;
    }
    
    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-card);
        border-left: 1px solid var(--border-color);
        padding: 100px 40px;
        flex-direction: column;
        gap: 32px;
        transition: var(--transition-normal);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.03);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .timeline-layout {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -41px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-container {
        padding: 32px 20px;
    }
}

@media (max-width: 580px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}
