/* ==========================================================================
   VEER THAKAR - 3D PORTFOLIO DESIGN SYSTEM
   Cyberpunk / Futuristic AI Neural Aesthetics
   ========================================================================== */

:root {
    --bg-dark: #070913;
    --bg-card: rgba(14, 20, 38, 0.65);
    --bg-card-hover: rgba(22, 32, 60, 0.85);
    --border-color: rgba(0, 242, 254, 0.18);
    --border-glow: rgba(0, 242, 254, 0.45);
    
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.35);
    --secondary: #4facfe;
    --accent-purple: #7f00ff;
    --accent-emerald: #00f5d4;
    --accent-rose: #ff2a85;

    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --text-accent: #00f2fe;

    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-code: 'Fira Code', monospace;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-heading);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
    line-height: 1.6;
    background: radial-gradient(circle at 50% 0%, #0d1326 0%, #05070e 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #070913;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.6);
}

/* 3D WebGL Canvas */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: auto;
}

/* Main App Wrapper */
#app {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    pointer-events: none; /* Let 3D canvas handle background interaction */
}

/* Make UI cards and interactive elements clickable */
.navbar, .content-container, .footer, .modal-backdrop {
    pointer-events: auto;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 1300px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    background: rgba(7, 10, 22, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.1);
    z-index: 100;
    transition: var(--transition-normal);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.logo-accent {
    color: var(--primary);
    font-family: var(--font-code);
    text-shadow: 0 0 8px var(--primary-glow);
}

.logo-name {
    color: var(--text-main);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-emerald);
    margin-left: 0.5rem;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

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

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
    background: rgba(0, 242, 254, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.icon-btn:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================================================
   BUTTON STYLES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.btn-glow, .btn-primary {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #05070e;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-glow:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.55);
}

.btn-secondary {
    background: rgba(127, 0, 255, 0.2);
    border-color: rgba(127, 0, 255, 0.4);
    color: #c084fc;
}

.btn-secondary:hover {
    background: rgba(127, 0, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(127, 0, 255, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    border-radius: 8px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   GLASS CARDS & CONTAINERS
   ========================================================================== */
.content-container {
    max-width: 1300px;
    margin: 90px auto 40px auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section {
    padding: 4rem 0;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 45px 0 rgba(0, 242, 254, 0.15);
}

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

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-code);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid Utilities */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.glitch-title {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.05;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.dynamic-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary);
    min-height: 2rem;
    margin-bottom: 1.2rem;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 14px;
    text-align: center;
}

.stat-num {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-code);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* 3D Control Card */
.hero-3d-card {
    position: relative;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.card-title {
    margin-left: 0.5rem;
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

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

.preset-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.preset-btn {
    flex: 1;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.preset-btn:hover, .preset-btn.active {
    background: rgba(0, 242, 254, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================================================
   ABOUT & HIGHLIGHTS
   ========================================================================== */
.about-card h3, .highlights-card h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.highlight-list strong {
    color: var(--text-main);
}

.icon-wrap {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--border-color);
    color: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.skill-category .category-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.skill-category h3 {
    font-size: 1.15rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.skill-tag.highlight {
    background: rgba(0, 242, 254, 0.08);
    border-color: var(--border-color);
    color: var(--primary);
    font-weight: 500;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.soft-skill-item {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.3rem;
}

.progress-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    border-radius: 4px;
}

.spoken-langs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.lang-badge {
    font-size: 0.78rem;
    padding: 0.3rem 0.6rem;
    background: rgba(127, 0, 255, 0.15);
    border: 1px solid rgba(127, 0, 255, 0.3);
    border-radius: 6px;
    color: #c084fc;
}

/* ==========================================================================
   TIMELINE (EXPERIENCE & EDUCATION)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 2.5rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 2.5rem;
}

.timeline-dot {
    position: absolute;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--primary-glow);
    z-index: 2;
}

.timeline-item.left .timeline-dot {
    right: -20px;
}

.timeline-item.right .timeline-dot {
    left: -20px;
}

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

.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.badge-primary { background: rgba(0, 242, 254, 0.15); color: var(--primary); }
.badge-accent { background: rgba(0, 245, 212, 0.15); color: var(--accent-emerald); }

.timeline-content h3 {
    font-size: 1.2rem;
    color: var(--text-main);
}

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

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.timeline-bullets {
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.coursework-title {
    margin-top: 0.8rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   PROJECTS SHOWCASE
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.project-banner {
    height: 140px;
    position: relative;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.jarvis-bg {
    background: linear-gradient(135deg, rgba(127, 0, 255, 0.3) 0%, rgba(0, 242, 254, 0.2) 100%), #0d1326;
}

.dashboard-bg {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.25) 0%, rgba(13, 19, 38, 0.8) 100%), #0d1326;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--text-main);
    width: fit-content;
}

.audio-waves {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 25px;
}

.audio-waves span {
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    animation: wave 1.2s infinite ease-in-out;
}

.audio-waves span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.audio-waves span:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.audio-waves span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.audio-waves span:nth-child(4) { height: 60%; animation-delay: 0.4s; }
.audio-waves span:nth-child(5) { height: 30%; animation-delay: 0.5s; }

@keyframes wave {
    0%, 100% { height: 30%; }
    50% { height: 100%; }
}

.mini-chart-wrapper {
    height: 70px;
    width: 100%;
}

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

.project-body h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.6rem;
}

.project-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.project-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.project-highlights span {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.project-highlights i {
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.project-footer {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 1rem;
}

/* ==========================================================================
   CERTIFICATIONS
   ========================================================================== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cert-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cert-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-details h3 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.issuer {
    font-size: 0.82rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

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

/* ==========================================================================
   INTERACTIVE J.A.R.V.I.S CLI TERMINAL
   ========================================================================== */
.terminal-window {
    padding: 0;
    overflow: hidden;
    background: rgba(5, 7, 14, 0.95);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
}

.terminal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.2rem;
    background: rgba(14, 20, 38, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-buttons {
    display: flex;
    gap: 6px;
}

.btn-circle {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.btn-circle.close { background: #ff5f56; }
.btn-circle.minimize { background: #ffbd2e; }
.btn-circle.maximize { background: #27c93f; }

.terminal-title {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-code);
    font-size: 0.72rem;
    color: var(--accent-emerald);
}

.online-indicator {
    width: 6px;
    height: 6px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent-emerald);
}

.terminal-body {
    height: 280px;
    padding: 1.2rem;
    overflow-y: auto;
    font-family: var(--font-code);
    font-size: 0.88rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.terminal-row {
    line-height: 1.5;
}

.terminal-row.user-msg {
    color: var(--primary);
}

.terminal-row.system-msg {
    color: #cbd5e1;
}

.terminal-row.error-msg {
    color: #ff5f56;
}

.cmd-text {
    color: var(--accent-emerald);
    font-weight: 600;
}

.terminal-quick-cmds {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(10, 15, 28, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-cmd-btn {
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary);
    font-family: var(--font-code);
    font-size: 0.78rem;
    padding: 0.25rem 0.6rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quick-cmd-btn:hover {
    background: rgba(0, 242, 254, 0.25);
    border-color: var(--primary);
}

.terminal-input-row {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: rgba(7, 10, 20, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);

}

.prompt-symbol {
    font-family: var(--font-code);
    color: var(--accent-purple);
    font-weight: 600;
    margin-right: 0.8rem;
}

#terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-code);
    font-size: 0.9rem;
}

.terminal-send {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.2rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.item-icon {
    width: 38px;
    height: 38px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.item-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.copy-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.4rem;
    transition: var(--transition-fast);
}

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

.social-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.social-btn.linkedin {
    background: rgba(10, 102, 194, 0.2);
    border: 1px solid rgba(10, 102, 194, 0.4);
    color: #38bdf8;
}

.social-btn.github {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
}

.social-btn:hover {
    transform: translateY(-2px);
}

/* Contact Form */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    background: rgba(7, 10, 20, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    outline: none;
    transition: var(--transition-fast);
}

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

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

.form-status.success { color: var(--accent-emerald); }
.form-status.error { color: var(--accent-rose); }

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 14, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: opacity 0.3s ease;
}

.modal-backdrop.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    width: 100%;
    max-width: 700px;
    position: relative;
    background: rgba(14, 20, 38, 0.95);
    border: 1px solid var(--primary);
    box-shadow: 0 0 50px rgba(0, 242, 254, 0.25);
}

.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    text-align: center;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(5, 7, 14, 0.8);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    .grid-2col, .projects-grid, .skills-grid, .certs-grid {
        grid-template-columns: 1fr;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 3.5rem !important;
        padding-right: 0 !important;
    }
    .timeline-item.right {
        left: 0;
    }
    .timeline-dot {
        left: 0 !important;
    }
    .glitch-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 1.5rem);
    }
    .nav-links {
        display: none; /* Can add mobile drawer if needed */
    }
}
