/* -------------------------------------------------------------
   Anuj Jandhyala Portfolio Stylesheet
   Designed with premium aesthetics: deep space dark mode, neon glow,
   glassmorphism, and smooth transitions.
------------------------------------------------------------- */

/* Variables & Design Tokens */
:root {
    --bg-primary: #060813;
    --bg-secondary: #0b1123;
    --card-bg: rgba(13, 22, 47, 0.45);
    --card-border: rgba(255, 255, 255, 0.07);
    --card-border-hover: rgba(6, 182, 212, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --accent-purple: #8b5cf6;
    --accent-purple-glow: rgba(139, 92, 246, 0.5);
    --accent-cyan: #06b6d4;
    --accent-cyan-glow: rgba(6, 182, 212, 0.5);
    --accent-green: #10b981;
    --accent-green-glow: rgba(16, 185, 129, 0.4);
    --accent-red: #ef4444;
    
    --gradient-hero: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    --gradient-cyan: linear-gradient(135deg, #0891b2 0%, #22d3ee 100%);
    --gradient-dark: linear-gradient(180deg, #060813 0%, #0b1123 100%);
    
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --glow-shadow-purple: 0 0 25px rgba(139, 92, 246, 0.25);
    --glow-shadow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}

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

/* Background Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.85;
}

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

.section-padding {
    padding: 8rem 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-secondary);
}

/* Section Headers */
.section-header {
    margin-bottom: 4.5rem;
    text-align: left;
    max-width: 700px;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-desc-light {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Glassmorphism Panel Base */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: border-color var(--transition-medium), box-shadow var(--transition-medium), transform var(--transition-medium);
}

.glass:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.15);
}

/* Text Gradients */
.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-purple);
    color: white;
    box-shadow: var(--glow-shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow-cyan);
}

.btn-full {
    width: 100%;
}

/* Header & Navigation */
#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 8, 19, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding var(--transition-fast), background var(--transition-fast);
    padding: 1.5rem 0;
}

#mainHeader.scrolled {
    padding: 0.85rem 0;
    background: rgba(6, 8, 19, 0.9);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--accent-cyan);
    font-weight: 600;
    margin: 0 2px;
}

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

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-hero);
    transition: width var(--transition-fast);
}

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

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

.console-nav {
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(6, 182, 212, 0.05);
}

.console-nav::after {
    display: none;
}

.console-nav:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    flex: 1.1;
    max-width: 650px;
    z-index: 10;
}

.hero-visual {
    flex: 0.9;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    z-index: 5;
}

.badge-container {
    margin-bottom: 1.5rem;
}

.hero-badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: var(--accent-purple);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 1.5px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    height: 3rem; /* Prevents layout shifting during typing */
}

.typing-cursor {
    color: var(--accent-cyan);
    animation: blink 0.8s infinite;
}

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

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

/* Glowing background elements in Hero */
.glowing-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.35;
}

.circle-purple {
    width: 300px;
    height: 300px;
    background: var(--accent-purple);
    top: 10%;
    left: 20%;
    animation: floatGlow 15s ease-in-out infinite alternate;
}

.circle-cyan {
    width: 250px;
    height: 250px;
    background: var(--accent-cyan);
    bottom: 10%;
    right: 10%;
    animation: floatGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.2); }
}

/* Agent Card Graphics Mockup */
.hero-graphic-container {
    width: 100%;
    max-width: 420px;
    perspective: 1000px;
}

.agent-status-card {
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotateX(10deg) rotateY(-15deg);
    transform-style: preserve-3d;
    transition: transform var(--transition-medium);
}

.agent-status-card:hover {
    transform: rotateX(5deg) rotateY(-5deg) translateY(-5px);
}

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

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-green);
    border-radius: 50%;
}

.pulsing {
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px var(--accent-green);
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.status-body {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.code-line {
    white-space: nowrap;
}

.code-keyword { color: #f472b6; }
.code-comment { color: var(--text-muted); }
.code-boolean { color: #f59e0b; }
.code-number { color: #38bdf8; }
.output-line {
    color: var(--accent-cyan);
    padding-left: 0.5rem;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.about-lead {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-paragraph {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-vision {
    margin-top: 2.5rem;
}

.about-vision h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.vision-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    align-items: flex-start;
}

.vision-icon {
    color: var(--accent-cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

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

.about-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.core-pillar-card {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.core-pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.pillar-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.pillar-icon-wrapper.purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.pillar-icon-wrapper.cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.pillar-icon-wrapper.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.project-folder {
    color: var(--accent-cyan);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.project-card-body {
    flex-grow: 1;
}

.project-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.project-highlights {
    margin-bottom: 1.5rem;
}

.project-highlights ul {
    list-style: none;
}

.project-highlights li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.project-highlights li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

.project-card-footer {
    margin-top: auto;
}

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

.tech-tags span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(30, 41, 59, 0.4);
    color: var(--text-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Skills Section */
.skills-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: start;
}

.skills-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-category-card {
    padding: 2rem;
}

.skill-category-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-cyan);
    padding-left: 0.75rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    border-radius: 4px;
    background: var(--gradient-hero);
    width: 0; /* Animated via CSS or layout trigger */
    transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

/* Certifications Panel */
.certifications-panel {
    padding: 2rem;
}

.certifications-panel h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-purple);
    padding-left: 0.75rem;
}

.certs-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cert-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cert-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cert-icon {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.cert-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.cert-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.cert-badge {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

/* Timeline Section */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-dot {
    position: absolute;
    top: 2.25rem;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    z-index: 5;
    background: var(--bg-primary);
    border: 3px solid var(--accent-cyan);
}

.purple-glow {
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
}

.cyan-glow {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    position: relative;
}

.timeline-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.timeline-date {
    color: var(--accent-cyan);
}

.timeline-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

.timeline-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.timeline-subdata {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timeline-subdata strong {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.course-tag {
    font-size: 0.78rem;
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--text-secondary);
    width: fit-content;
}

.milestone-list {
    list-style: none;
}

.milestone-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.35rem;
}

.milestone-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
}

/* Interactive AI Terminal Console */
.terminal-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-titlebar {
    background: #0b0f19;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.win-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.win-btn.close { background-color: var(--accent-red); }
.win-btn.minimize { background-color: #f59e0b; }
.win-btn.maximize { background-color: var(--accent-green); }

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

.terminal-status-indicator {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.terminal-body {
    background: rgba(4, 6, 15, 0.95);
    height: 380px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.terminal-output-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.terminal-line {
    line-height: 1.5;
    word-break: break-all;
}

.text-info { color: var(--text-muted); }
.text-welcome { color: var(--accent-purple); }
.text-highlight { color: var(--accent-cyan); font-weight: bold; }
.text-response { color: var(--text-secondary); }
.text-error { color: var(--accent-red); }

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
}

.terminal-prompt {
    color: var(--accent-green);
    font-weight: bold;
    flex-shrink: 0;
}

.terminal-input-field {
    flex-grow: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.terminal-shortcuts {
    background: #0b0f19;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

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

.shortcut-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.shortcut-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent-purple);
    color: var(--text-primary);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
}

.contact-info-panel {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.contact-info-panel h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-intro {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.contact-detail-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-text span {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail-text a, .contact-detail-text p {
    font-size: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-detail-text a:hover {
    color: var(--accent-cyan);
}

.contact-form-panel {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input, .form-group textarea {
    background: rgba(11, 15, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
    background: rgba(11, 15, 30, 0.9);
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1.2rem;
    border-radius: 6px;
    font-size: 0.88rem;
    font-family: var(--font-mono);
}

.success-message {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
}

.hidden {
    display: none;
}

/* Footer styling */
.footer {
    background: #04060d;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

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

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

.footer-socials a {
    color: var(--text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        padding-top: 10rem;
        gap: 4rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        min-height: 350px;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .skills-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        justify-content: flex-start !important;
        margin-bottom: 3rem;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 105;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: #080d1a;
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: right var(--transition-medium);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-nav-active .mobile-nav-toggle .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-nav-active .mobile-nav-toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-active .mobile-nav-toggle .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }
}
