/* ==========================================================================
   LOKESH JAIN - ONLINE RESUME & PORTFOLIO STYLESHEET
   Full Stack (PHP, Node, React, AWS) & AI/Machine Learning
   ========================================================================== */

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    /* Color Palette - Dark Mode (Default) */
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --bg-card: #1f2937;
    --bg-card-hover: #263346;
    --bg-glass: rgba(17, 24, 39, 0.85);
    
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    
    /* Brand Accent Gradients */
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.15);
    
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --bg-gradient: radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 40%),
                   radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.12), transparent 40%);
    
    /* Tech Brand Colors */
    --color-react: #61dafb;
    --color-node: #68a063;
    --color-php: #8892bf;
    --color-aws: #ff9900;
    --color-ai: #ec4899;
    --color-python: #3776ab;

    /* Shadows & Glows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 25px rgba(99, 102, 241, 0.35);

    /* Fonts & Radii */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.9);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(99, 102, 241, 0.5);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
    --glow-primary: 0 0 20px rgba(99, 102, 241, 0.2);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    background-image: var(--bg-gradient);
    background-attachment: fixed;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Layout Grids */
.grid {
    display: grid;
    gap: 1.75rem;
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.gap-md { gap: 1.25rem; }
.gap-xl { gap: 2.5rem; }

/* Text Utilities */
.text-center { text-align: center; }
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.paragraph {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.875rem; }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-glow {
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(99, 102, 241, 0.4); }
    100% { box-shadow: 0 0 25px rgba(168, 85, 247, 0.7); }
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-linkedin {
    background: #0077b5;
    color: #ffffff;
}

.btn-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.icon-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.05);
}

/* --- STICKY NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

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

.brand-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--accent-gradient);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

/* Theme Toggle Icons */
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="light"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: block; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding-top: 9.5rem;
    padding-bottom: 5rem;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.35;
}

.shape-1 {
    top: 15%;
    left: -10%;
    width: 450px;
    height: 450px;
    background: var(--primary);
}

.shape-2 {
    top: 30%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: #ec4899;
}

.shape-3 {
    bottom: 5%;
    left: 30%;
    width: 350px;
    height: 350px;
    background: #a855f7;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.greeting-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    border: 1px solid var(--border-hover);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 0.5rem;
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.title-accent-line {
    height: 3px;
    width: 60px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.hero-bio {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-bio strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ping-dot {
    position: relative;
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
}

.ping-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.4);
    animation: pingAnimation 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingAnimation {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Hero Profile Image Card */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-card-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    border-radius: var(--radius-lg);
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.image-wrapper {
    position: relative;
    width: 100%;
    border-radius: calc(var(--radius-lg) - 6px);
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.image-card-frame:hover .profile-img {
    transform: scale(1.03);
}

/* Floating Tech Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
    animation: floatLevitate 4s ease-in-out infinite alternate;
}

.badge-top-left { top: -15px; left: -25px; animation-delay: 0s; }
.badge-top-right { top: 20px; right: -25px; animation-delay: 0.8s; }
.badge-bottom-left { bottom: 40px; left: -30px; animation-delay: 1.6s; }
.badge-bottom-right { bottom: -15px; right: -15px; animation-delay: 2.4s; }
.badge-center-right { top: 48%; right: -35px; animation-delay: 1.2s; }

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

.text-react { color: var(--color-react); }
.text-node { color: var(--color-node); }
.text-php { color: var(--color-php); }
.text-aws { color: var(--color-aws); }
.text-ai { color: var(--color-ai); }

/* --- STATS STRIP --- */
.stats-strip {
    padding: 2.5rem 0;
    background: var(--bg-secondary);
    border-y: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* --- SECTIONS GLOBAL --- */
.section {
    padding: 5rem 0;
}

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

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    display: block;
    margin-bottom: 0.4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.title-underline {
    height: 4px;
    width: 70px;
    background: var(--accent-gradient);
    border-radius: 2px;
    margin-top: 0.6rem;
}

.title-underline.center {
    margin-left: auto;
    margin-right: auto;
}

/* --- ABOUT SECTION --- */
.about-lead {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.about-highlights-list {
    margin-top: 1.8rem;
    display: grid;
    gap: 0.85rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-primary);
}

.highlight-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.service-card {
    display: flex;
    gap: 1.2rem;
    padding: 1.4rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 1.6rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.service-content h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.service-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- SKILLS MATRIX --- */
.skills-tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.tab-btn {
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.skill-category-card {
    padding: 1.75rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-category-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.card-head i {
    font-size: 1.4rem;
}

.card-head h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

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

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-pill.highlight-pill {
    background: var(--primary-light);
    border-color: var(--border-hover);
    color: var(--text-primary);
    font-weight: 600;
}

.skill-pill:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    transform: scale(1.03);
}

/* --- EXPERIENCE TIMELINE --- */
.timeline {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 20px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

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

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 4px solid var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary);
    transform: scale(1.2);
}

.timeline-content {
    padding: 1.75rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

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

.job-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.company-row {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.company-name {
    font-weight: 600;
    color: var(--primary);
}

.bullet-sep { margin: 0 0.4rem; opacity: 0.5; }

.job-period-badge {
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    border: 1px solid var(--border-hover);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.timeline-bullets {
    margin-left: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.timeline-bullets li {
    margin-bottom: 0.5rem;

}

.timeline-bullets li strong {
    color: var(--text-primary);
}

.timeline-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
}

.timeline-tech-stack span {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-muted);
}

/* --- FEATURED PROJECTS --- */
.project-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.55rem 1.3rem;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.project-image-box {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.project-tag-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
}

.project-preview-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ffffff;
}

.bg-gradient-ai { background: linear-gradient(135deg, #4f46e5, #9333ea); }
.bg-gradient-php { background: linear-gradient(135deg, #2563eb, #0284c7); }
.bg-gradient-ml { background: linear-gradient(135deg, #db2777, #7c3aed); }
.bg-gradient-aws { background: linear-gradient(135deg, #d97706, #4f46e5); }

.mockup-icon { font-size: 2.8rem; opacity: 0.9; }
.mockup-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }

.project-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.project-desc {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-highlights {
    list-style: none;
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.project-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.project-highlights li i { color: #10b981; font-size: 0.8rem; }

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

.project-tags span {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.project-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

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

/* --- EDUCATION & CERTIFICATIONS --- */
.column-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edu-card {
    padding: 1.6rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.edu-year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.degree-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.institution-name {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

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

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.cert-badge {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.cert-issuer {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.cert-tag {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--primary);
}

/* --- CONTACT SECTION --- */
.contact-info-col h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-methods {
    margin-top: 2rem;
    display: grid;
    gap: 1.2rem;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.1rem 1.4rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.method-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
}

.method-value {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.copy-btn {
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
}

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

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-status {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
}

.form-status.success { color: #10b981; }
.form-status.error { color: #ef4444; }

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

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

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

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 900;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ==========================================================================
   ATS PRINT STYLESHEET (HIDDEN ON WEB, ACTIVE IN PRINT & PDF EXPORT)
   ========================================================================== */
.ats-print-only {
    display: none;
}

@media print {
    /* Hide all web portfolio elements */
    header, footer, .back-to-top, #web-resume {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #111111 !important;
        font-family: 'Times New Roman', Georgia, serif;
        line-height: 1.4;
        font-size: 11pt;
    }

    .ats-print-only {
        display: block !important;
        padding: 0;
        margin: 0 auto;
        width: 100%;
        max-width: 800px;
    }

    .ats-header {
        text-align: center;
        margin-bottom: 12px;
    }

    .ats-name {
        font-size: 22pt;
        font-weight: bold;
        letter-spacing: 1px;
        margin-bottom: 2px;
    }

    .ats-title {
        font-size: 12pt;
        font-weight: bold;
        color: #333333;
        margin-bottom: 6px;
    }

    .ats-contact-line {
        font-size: 9.5pt;
        color: #444444;
    }

    .ats-divider {
        border: none;
        border-top: 1.5px solid #111111;
        margin: 10px 0 14px 0;
    }

    .ats-section {
        margin-bottom: 14px;
    }

    .ats-heading {
        font-size: 11.5pt;
        font-weight: bold;
        text-transform: uppercase;
        border-bottom: 1px solid #666666;
        padding-bottom: 2px;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .ats-text {
        font-size: 10pt;
        text-align: justify;
        margin-bottom: 6px;
    }

    .ats-skill-list {
        list-style: none;
        padding-left: 0;
        font-size: 9.8pt;
    }

    .ats-skill-list li {
        margin-bottom: 4px;
    }

    .ats-job {
        margin-bottom: 10px;
    }

    .ats-job-header {
        display: flex;
        justify-content: space-between;
        font-size: 10.5pt;
        margin-bottom: 4px;
    }

    .ats-bullet-list {
        margin-left: 18px;
        font-size: 9.8pt;
    }

    .ats-bullet-list li {
        margin-bottom: 3px;
    }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-name { font-size: 3.4rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-links.active { left: 0; }
    .hamburger { display: flex; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title-wrapper { justify-content: center; }
    .hero-cta-group { justify-content: center; }
    .hero-name { font-size: 2.8rem; }
    .hero-visual { margin-top: 2rem; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    .timeline::before { left: 10px; }
    .timeline-item { padding-left: 35px; }
    .timeline-dot { left: 1px; }

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