/* ==========================================================================
   CSS STYLESHEET: Kuchi Abhinaya - Professional Data Analyst & AI/ML Portfolio
   ========================================================================== */

:root {
    /* Theme Palette - Clean Professional Slate & Indigo/Cyan accents */
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.75);
    --bg-card-hover: rgba(31, 41, 55, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(99, 102, 241, 0.3);

    --primary-indigo: #6366f1;
    --primary-cyan: #06b6d4;
    --primary-emerald: #10b981;
    --accent-amber: #f59e0b;

    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);

    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.25);

    --transition: all 0.25s ease-in-out;
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

p {
    color: var(--text-secondary);
}

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

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

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

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

.section-title {
    font-size: 2.35rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-icon:hover {
    background: var(--primary-indigo);
    border-color: var(--primary-indigo);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-github {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-github:hover {
    background: #24292e;
    border-color: #444d56;
    color: #fff;
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1.05rem;
}

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

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.logo-accent {
    color: var(--primary-cyan);
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
}

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

.nav-btn {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-indigo) !important;
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
}

.nav-btn:hover {
    background: var(--primary-indigo);
    color: #fff !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.25;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-indigo);
    top: -100px;
    right: -100px;
}

.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-cyan);
    bottom: -100px;
    left: -100px;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-emerald);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--primary-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-emerald);
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-headline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hero-stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

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

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-cyan);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.about-content p {
    margin-bottom: 1.25rem;
}

.focus-areas {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.focus-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-indigo);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.about-cards-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.info-card:hover {
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
}

.info-card-icon {
    font-size: 2rem;
    line-height: 1;
}

.info-card-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-card-text p {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.info-sub {
    font-size: 0.85rem;
    color: var(--primary-cyan);
    font-weight: 500;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.skill-category-card:hover {
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-glow);
}

.full-width-card {
    grid-column: 1 / -1;
}

.skill-cat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cat-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.skill-cat-header h3 {
    font-size: 1.25rem;
}

.skill-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    list-style: none;
}

.skill-pill-list li {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.skill-pill-list li:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-indigo);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: var(--primary-indigo);
    border-color: var(--primary-indigo);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.75rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

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

.project-card.hide {
    display: none;
}

.project-category-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-cyan);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

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

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.project-tech-stack span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 0.78rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
}

.project-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.badge-feature {
    font-size: 0.8rem;
    color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.other-projects-list {
    list-style: none;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.other-projects-list li {
    margin-bottom: 0.35rem;
}

/* ==========================================================================
   Experience Section (Timeline)
   ========================================================================== */
.timeline-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.timeline-card:hover {
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
}

.timeline-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.timeline-body {
    flex-grow: 1;
}

.timeline-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.timeline-role {
    font-size: 1.35rem;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 1.05rem;
    color: var(--primary-indigo);
    font-weight: 600;
}

.timeline-tag {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-indigo);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.exp-bullet-list {
    margin: 0.75rem 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.exp-bullet-list li {
    margin-bottom: 0.4rem;
}

.exp-projects {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.exp-proj-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.badge-highlight {
    background: rgba(6, 182, 212, 0.12);
    color: var(--primary-cyan);
    border: 1px solid rgba(6, 182, 212, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ==========================================================================
   Certifications Section
   ========================================================================== */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

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

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

.cert-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.cert-name {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
}

/* ==========================================================================
   Education Section
   ========================================================================== */
.education-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1.5rem;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.featured-edu {
    border-color: rgba(99, 102, 241, 0.35);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(17, 24, 39, 0.75) 100%);
}

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

.edu-level {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.edu-grade-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
}

.edu-score-badge {
    background: rgba(6, 182, 212, 0.15);
    color: var(--primary-cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
}

.edu-degree {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.edu-school {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.edu-achievement-box {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.star-icon {
    font-size: 1.1rem;
}

/* ==========================================================================
   Resume Section
   ========================================================================== */
.resume-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0d121f 100%);
}

.resume-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.text-white {
    color: #ffffff;
}

.resume-desc {
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.resume-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.resume-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.resume-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Printable Sheet styling */
.resume-preview-sheet {
    background: #ffffff;
    color: #111827;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    font-size: 0.82rem;
    line-height: 1.45;
    max-height: 520px;
    overflow-y: auto;
}

.resume-preview-sheet .sheet-header {
    border-bottom: 2px solid #111827;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.resume-preview-sheet .sheet-header h2 {
    color: #111827;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.resume-preview-sheet .sheet-headline {
    color: #4b5563;
    font-weight: 600;
    font-size: 0.85rem;
}

.resume-preview-sheet .sheet-meta {
    color: #6b7280;
    font-size: 0.78rem;
}

.resume-preview-sheet .sheet-section {
    margin-bottom: 0.85rem;
}

.resume-preview-sheet .sheet-section h3 {
    color: #1f2937;
    font-size: 0.85rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.2rem;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resume-preview-sheet p {
    color: #374151;
    margin-bottom: 0.3rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.contact-icon {
    font-size: 1.8rem;
    line-height: 1;
}

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

.social-links-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
}

.social-btn:hover {
    background: var(--primary-indigo);
    border-color: var(--primary-indigo);
    color: #ffffff;
}

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

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

.form-status.success {
    color: var(--primary-emerald);
}

/* ==========================================================================
   Footer & Back to Top
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
    background: #080c14;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

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

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

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--primary-indigo);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--primary-cyan);
}

/* ==========================================================================
   Print / PDF Styles
   ========================================================================== */
@media print {
    body * {
        visibility: hidden;
    }
    #printable-resume, #printable-resume * {
        visibility: visible;
    }
    #printable-resume {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-height: none;
        padding: 0;
        box-shadow: none;
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .education-grid { grid-template-columns: 1fr; }
    .resume-wrapper { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(12px);
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        clip-path: circle(0px at top right);
        transition: clip-path 0.4s ease-in-out;
    }
    .nav-menu.active {
        clip-path: circle(1200px at top right);
    }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .hero-title { font-size: 2.4rem; }
    .hero-headline { font-size: 1.05rem; }
    .skills-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .footer-container { flex-direction: column; text-align: center; }
}
