/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette (SaaS Slate theme) */
    --bg-main: #030712;
    --bg-surface: #0f172a;
    --bg-surface-glass: rgba(15, 23, 42, 0.5);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-glow: rgba(99, 102, 241, 0.2);
    
    /* Neon & Elegant Accents */
    --accent-cyan: #06b6d4;
    --accent-cyan-rgb: 6, 182, 212;
    --accent-indigo: #6366f1;
    --accent-indigo-rgb: 99, 102, 241;
    --accent-purple: #8b5cf6;
    --accent-purple-rgb: 139, 92, 246;
    --accent-pink: #ec4899;
    --accent-pink-rgb: 236, 72, 153;
    --accent-green: #10b981;
    --accent-green-rgb: 16, 185, 129;
    --accent-yellow: #eab308;
    --accent-blue: #3b82f6;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   RESET & CORE BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Aurora Glowing Background Blobs */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
    background: #020617;
}

.aurora-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.18;
    animation: float-aurora 22s infinite alternate ease-in-out;
}

.blob-indigo {
    background-color: var(--accent-indigo);
    top: -100px;
    left: -100px;
}

.blob-purple {
    background-color: var(--accent-purple);
    bottom: -150px;
    right: -100px;
    animation-delay: -6s;
}

.blob-blue {
    background-color: var(--accent-cyan);
    top: 35%;
    left: 55%;
    animation-delay: -12s;
}

@keyframes float-aurora {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, 50px) scale(1.15); }
    100% { transform: translate(-50px, -70px) scale(0.9); }
}

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

button {
    font-family: inherit;
}

li {
    list-style: none;
}

.text-cyan { color: var(--accent-cyan); }
.text-purple { color: var(--accent-purple); }
.text-pink { color: var(--accent-pink); }
.text-green { color: var(--accent-green); }
.text-yellow { color: var(--accent-yellow); }
.text-blue { color: var(--accent-blue); }

/* SVG Icon class helper */
.icon-svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    fill: none;
    stroke: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* ==========================================================================
   GLOBAL UTILITIES
   ========================================================================== */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading.text-center {
    text-align: center;
}

.section-pre {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent-indigo);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 30%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphic Cards */
.glass-card {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(var(--accent-indigo-rgb), 0.25);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-bounce);
    outline: none;
}

.btn i {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
    color: #ffffff;
    border: none;
}

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

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

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

.btn-outline {
    background: transparent;
    color: var(--accent-indigo);
    border: 1px solid rgba(99, 102, 241, 0.4);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--accent-indigo);
}

.btn-cyan {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.btn-cyan:hover {
    background: rgba(6, 182, 212, 0.08);
    border-color: var(--accent-cyan);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-bracket {
    color: var(--accent-indigo);
}

.logo-text {
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-indigo);
    transition: var(--transition-smooth);
}

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

.mobile-nav-cta {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.opportunity-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

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

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
}

/* ==========================================================================
   HERO SECTION & SQUIRCLE UPLOADER
   ========================================================================== */
.hero-section {
    padding-top: 50px;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: -40px;
}

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

.hero-profile-area {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

/* Squircle Apple Icon Style for Profile Pic */
.profile-pic-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 3px solid var(--accent-indigo);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.2);
    overflow: hidden;
    cursor: pointer;
}

.profile-pic-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-indigo);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.profile-pic-container .upload-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background: rgba(15, 23, 42, 0.85);
    border: none;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.profile-pic-container:hover .upload-btn {
    opacity: 1;
}

.profile-pic-container .upload-btn i {
    width: 16px;
    height: 16px;
}

.hero-social-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.social-icon-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.2);
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.08);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-purple);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 40%, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.hero-typed-text {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    color: var(--accent-indigo);
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    height: 45px;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
}

.hero-cta-group .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ==========================================================================
   HERO PROFILE CARD PANEL
   ========================================================================== */
.hero-profile-panel {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.7),
                0 0 35px -5px rgba(99, 102, 241, 0.15);
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-profile-panel .profile-pic-container {
    width: 240px;
    height: 240px;
    border-radius: 36px;
    border: 3px solid var(--accent-indigo);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.25);
}

.hero-profile-panel .profile-pic-container img {
    border-radius: 32px;
}

.hero-social-row {
    display: flex;
    gap: 16px;
}

/* ==========================================================================
   HERO METADATA BAR (Consolidated Location & Email)
   ========================================================================== */
.hero-meta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.meta-badge {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.meta-badge i {
    color: var(--accent-cyan);
    width: 16px;
    height: 16px;
}

.meta-separator {
    color: var(--text-muted);
}

@media screen and (max-width: 480px) {
    .hero-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .meta-separator {
        display: none;
    }
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-section {
    background: transparent;
}

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

.skills-card {
    background: var(--bg-surface-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.skills-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
}

.skills-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px -15px rgba(0, 0, 0, 0.6);
}

.skills-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.skills-card-icon {
    width: 32px;
    height: 32px;
}

.skills-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skills-list li {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 14px;
    position: relative;
}

.skills-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.proficiency-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.proficiency-dot.high {
    background-color: var(--accent-indigo);
    box-shadow: 0 0 8px var(--accent-indigo);
}

/* ==========================================================================
   WORK EXPERIENCE SECTION
   ========================================================================== */
.experience-section {
    background: rgba(15, 23, 42, 0.2);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.timeline-single {
    max-width: 900px;
    margin: 0 auto;
}

.experience-card {
    padding: 40px;
    border-left: 4px solid var(--accent-purple);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.company-logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-logo {
    width: 48px;
    height: 48px;
    background: rgba(139, 92, 246, 0.08);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 7px;
}

.company-logo:has(img) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.role-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.experience-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.date-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
}


.location-badge {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tech-stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-stack-row span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--text-secondary);
}

.tech-row-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.tech-row-wrapper .tech-stack-row {
    margin-bottom: 0;
}

.experience-duration {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    background: rgba(6, 182, 212, 0.04);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: -8px;
}

@media screen and (max-width: 600px) {
    .tech-row-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.bullet-details {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bullet-details li {
    list-style-type: square;
    font-size: 1rem;
    color: var(--text-secondary);
}

.bullet-details li strong {
    color: var(--text-primary);
}

/* ==========================================================================
   ACADEMIC EDUCATION & ACHIEVEMENTS SECTION
   ========================================================================== */
.education-section {
    background: transparent;
}

.education-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.education-card {
    padding: 40px;
    border-left: 4px solid var(--accent-pink);
}

.academic-achievements-card {
    border-left: 4px solid var(--accent-cyan);
}

.edu-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.edu-icon {
    width: 48px;
    height: 48px;
    background: rgba(236, 72, 153, 0.08);
    color: var(--accent-pink);
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.edu-header-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.edu-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 7px;
}

.edu-icon:has(img) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.academic-achievements-card .edu-icon {
    background: rgba(6, 182, 212, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.edu-degree {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.edu-institution {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.edu-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.edu-date, .edu-gpa {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.edu-gpa {
    color: var(--accent-pink);
    border-color: rgba(236, 72, 153, 0.2);
    background: rgba(236, 72, 153, 0.03);
}

.edu-loc {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.edu-major {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 6px;
    margin-bottom: 0;
}

.edu-bullets {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edu-bullets li {
    list-style-type: square;
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Sibling achievements list */
.achievement-bullets {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.achievement-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.achievement-icon-bullet i {
    width: 18px;
    height: 18px;
}

.achievement-text-content strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

.achievement-text-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   PERSONAL PROJECTS SECTION
   ========================================================================== */
.projects-section {
    background: transparent;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.projects-more-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.project-card {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 36px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 40px;
    min-width: 0;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease,
                background-color 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(255, 255, 255, 0.1);
}

.project-info-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

/* Individual project-card top border and custom glowing hover effects */
.project-card:nth-child(1) { border-top: 3px solid var(--accent-pink); }
.project-card:nth-child(1):hover { box-shadow: 0 20px 40px -15px rgba(236, 72, 153, 0.15); }

.project-card:nth-child(2) { border-top: 3px solid var(--accent-cyan); }
.project-card:nth-child(2):hover { box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.15); }

.project-card:nth-child(3) { border-top: 3px solid var(--accent-indigo); }
.project-card:nth-child(3):hover { box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15); }

.project-card:nth-child(4) { border-top: 3px solid var(--accent-purple); }
.project-card:nth-child(4):hover { box-shadow: 0 20px 40px -15px rgba(139, 92, 246, 0.15); }

.project-card:nth-child(5) { border-top: 3px solid var(--accent-cyan); }
.project-card:nth-child(5):hover { box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.15); }

.project-card:nth-child(6) { border-top: 3px solid var(--accent-pink); }
.project-card:nth-child(6):hover { box-shadow: 0 20px 40px -15px rgba(236, 72, 153, 0.15); }

.project-image-wrapper {
    width: 385px;
    min-width: 385px;
    height: auto;
    align-self: center;
    overflow: visible;
}

.window-mockup {
    width: 100%;
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
}

.project-card:hover .window-mockup {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.window-header {
    height: 28px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
}

.window-header .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.window-header .dot.red { background: #ff5f56; }
.window-header .dot.yellow { background: #ffbd2e; }
.window-header .dot.green { background: #27c93f; }

.window-body {
    width: 100%;
    line-height: 0;
}

.project-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
    transform: scale(1.03);
}

/* Image placeholders with coordinated gradients */
.placeholder-gradient {
    transition: background 0.4s ease;
}

.placeholder-gradient i {
    width: 48px;
    height: 48px;
    opacity: 0.7;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.project-card:hover .placeholder-gradient i {
    transform: scale(1.1);
    opacity: 0.9;
}

.poolify-gradient {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(99, 102, 241, 0.15));
    color: var(--accent-cyan);
    border-color: rgba(6, 182, 212, 0.2);
}

.mycart-gradient {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.15));
    color: var(--accent-indigo);
    border-color: rgba(99, 102, 241, 0.2);
}

.outreach-gradient {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(2, 6, 23, 0.6));
    color: var(--accent-purple);
    border-color: rgba(139, 92, 246, 0.2);
}

.scheduler-gradient {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(16, 185, 129, 0.15));
    color: var(--accent-cyan);
    border-color: rgba(6, 182, 212, 0.2);
}

.db-gradient {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(30, 41, 59, 0.6));
    color: var(--accent-pink);
    border-color: rgba(236, 72, 153, 0.2);
}

.project-title-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-title-area h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-links a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.project-links a:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
}

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

.project-bullets {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.project-bullets li {
    list-style-type: square;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.project-tags span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    color: var(--accent-indigo);
    padding: 4px 10px;
    border-radius: 4px;
}

/* Interactive SVG Systems Architecture Component */
.architecture-drawer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
    width: 100%;
    max-width: 100%;
}

.architecture-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

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

.architecture-toggle-btn i {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.architecture-toggle-btn .chevron-icon.rotate {
    transform: rotate(180deg);
}

.architecture-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.architecture-content.open {
    max-height: 1200px;
}

/* System Design Flow Diagram using CSS Flexbox */
.system-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.25);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    overflow-x: auto;
    gap: 12px;
    width: 100%;
    max-width: 100%;
}

.diag-node {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    min-width: 120px;
    flex-shrink: 0;
}

.diag-node .node-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.diag-node .node-details {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.user-node { border-left: 3px solid var(--accent-cyan); }
.backend-node { border-left: 3px solid var(--accent-indigo); }
.db-node { border-left: 3px solid var(--accent-pink); }
.db-table { border: 1px solid rgba(234, 179, 8, 0.3); border-left: 3px solid var(--accent-yellow); }

.diag-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    min-width: 50px;
    text-align: center;
}

.diag-arrow {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    animation: flow 1.5s infinite linear;
}

@keyframes flow {
    0% { opacity: 0.3; transform: translateX(-3px); }
    50% { opacity: 1; }
    100% { opacity: 0.3; transform: translateX(3px); }
}

.db-diag {
    justify-content: center;
    gap: 20px;
}

.fk-connector .diag-arrow {
    animation: none;
    color: var(--accent-yellow);
}

/* ==========================================================================
   CONTACT SECTION & TRANSMISSION CONSOLE LOGS
   ========================================================================== */
.contact-section {
    background: rgba(15, 23, 42, 0.2);
    border-top: 1px solid var(--border-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-headline {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 700;
    margin: 16px 0 24px;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-links-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.contact-link-item i, .contact-link-item svg.contact-panel-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.link-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.link-val {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

.link-val:hover {
    color: var(--accent-cyan);
}

.contact-form-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-indigo);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
    background: rgba(0, 0, 0, 0.4);
}

/* Interactive Transmission Console Overlay */
.form-console {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #05070c;
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.console-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.console-logs {
    flex-grow: 1;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent-green);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.5;
}

.console-line {
    white-space: pre-wrap;
    word-break: break-all;
}

.console-line.error-log {
    color: #ef4444;
}

.console-line.system-log {
    color: var(--accent-cyan);
}

.hidden {
    display: none;
}

/* Spinner Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1.2s linear infinite;
    display: inline-block;
}

/* ==========================================================================
   FOOTER AREA
   ========================================================================== */
.app-footer {
    border-top: 1px solid var(--border-color);
    background: #020408;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
}

.footer-status-code {
    color: var(--accent-green);
    font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet Screens (1024px and below) */
@media screen and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-terminal {
        height: 340px;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-brief {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card {
        flex-direction: column;
        gap: 28px;
    }
    .project-image-wrapper {
        width: 100%;
        min-width: 100%;
        height: auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .edu-stats-row {
        gap: 12px;
    }
}

/* Mobile Screens (768px and below) */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background: rgba(3, 7, 18, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 40px 24px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }

    .mobile-nav-cta {
        display: block;
        width: 100%;
        margin-top: 12px;
    }

    .mobile-nav-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-typed-text {
        font-size: 1.6rem;
    }
    
    .hero-cta-group {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-headline {
        font-size: 2.2rem;
    }
    
    .contact-form-card {
        padding: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Tiny Mobile Screens (480px and below) */
@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .edu-stats-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .experience-card, .education-card {
        padding: 24px 16px;
    }
    
    .project-card {
        padding: 24px;
    }
    
    .system-diagram {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .diag-connector {
        transform: rotate(90deg);
        margin: 4px 0;
        min-width: auto;
    }
    
    .diag-arrow {
        animation: flow-vertical 1.5s infinite linear;
    }
}

@keyframes flow-vertical {
    0% { opacity: 0.3; transform: translateY(-3px); }
    50% { opacity: 1; }
    100% { opacity: 0.3; transform: translateY(3px); }
}
