/* ============================================
   CSS Variables & Reset - Light Theme - Professional Color Scheme
   ============================================ */
:root {
    /* Professional Navy & Teal Palette */
    --primary: #1e3a5f;
    --primary-dark: #152d4a;
    --primary-light: #2d4f7c;
    --secondary: #0f4c75;
    --accent: #00a8cc;
    --accent-dark: #0088a8;
    --success: #2d8659;
    --warning: #d97706;
    --danger: #dc2626;
    
    /* Professional Teal Accent */
    --teal: #00a8cc;
    --teal-dark: #0088a8;
    --teal-light: #00c4e6;
    
    /* Navy Blue */
    --navy: #1e3a5f;
    --navy-dark: #152d4a;
    --navy-light: #2d4f7c;
    
    --bg-primary: #f5f7fa;
    --bg-secondary: #e8ecf1;
    --bg-tertiary: #dde3ea;
    --bg-card: #fafbfc;
    --bg-card-hover: #f0f2f5;
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    
    --border-color: #e2e8f0;
    --border-hover: #cbd5e0;
    
    /* Professional Gradients */
    --gradient-1: linear-gradient(135deg, #1e3a5f 0%, #0f4c75 50%, #00a8cc 100%);
    --gradient-2: linear-gradient(135deg, #00a8cc 0%, #0088a8 100%);
    --gradient-3: linear-gradient(135deg, #1e3a5f 0%, #2d4f7c 100%);
    --gradient-accent: linear-gradient(135deg, #00a8cc 0%, #00c4e6 100%);
    
    --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.08);
    --shadow-md: 0 4px 16px rgba(30, 58, 95, 0.12);
    --shadow-lg: 0 8px 32px rgba(30, 58, 95, 0.16);
    --shadow-glow: 0 0 40px rgba(0, 168, 204, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 247, 250, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    background: rgba(245, 247, 250, 0.98);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--navy);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--teal);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Tech Animation Container */
.tech-animation-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 32px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.03) 0%, rgba(0, 168, 204, 0.03) 100%);
    border: 1px solid var(--border-color);
}

.tech-grid-animation {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    align-items: center;
    justify-items: center;
}

.tech-node {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: techFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.tech-node i,
.tech-node svg {
    font-size: 28px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 1;
}

.tech-node svg {
    width: 28px;
    height: 28px;
}

.tech-node:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--teal);
    box-shadow: 0 8px 24px rgba(0, 168, 204, 0.2);
    background: var(--bg-card-hover);
}

.tech-node:hover i,
.tech-node:hover svg {
    color: var(--teal);
    transform: scale(1.1);
}

.tech-node:hover svg path {
    opacity: 0.8;
}

.tech-node:nth-child(1) { animation-delay: 0s; }
.tech-node:nth-child(2) { animation-delay: 0.5s; }
.tech-node:nth-child(3) { animation-delay: 1s; }
.tech-node:nth-child(4) { animation-delay: 1.5s; }
.tech-node:nth-child(5) { animation-delay: 2s; }
.tech-node:nth-child(6) { animation-delay: 2.5s; }
.tech-node:nth-child(7) { animation-delay: 0.3s; }
.tech-node:nth-child(8) { animation-delay: 0.8s; }
.tech-node:nth-child(9) { animation-delay: 1.3s; }
.tech-node:nth-child(10) { animation-delay: 1.8s; }
.tech-node:nth-child(11) { animation-delay: 2.3s; }
.tech-node:nth-child(12) { animation-delay: 2.8s; }

@keyframes techFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(2deg);
    }
    50% {
        transform: translateY(-4px) rotate(-1deg);
    }
    75% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.tech-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.tech-connections line {
    stroke: url(#connectionGradient);
    stroke-width: 1.5;
    stroke-dasharray: 5,5;
    animation: connectionPulse 3s ease-in-out infinite;
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.2;
        stroke-dashoffset: 0;
    }
    50% {
        opacity: 0.5;
        stroke-dashoffset: 10;
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease-out;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1.4s ease-out;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 168, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 204, 0.4);
    background: var(--gradient-accent);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeInRight 1s ease-out;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-photo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.hero-photo-placeholder {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #e8ecf1 0%, #f5f7fa 100%);
}

.hero-photo-placeholder::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.hero-photo-placeholder:hover::before {
    opacity: 1;
}

.hero-photo-placeholder:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.photo-icon {
    font-size: 80px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.photo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.photo-subtext {
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: center;
    padding: 0 20px;
}

.photo-frame-decoration {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 168, 204, 0.3);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Replace .hero-photo-placeholder with actual image */
.hero-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.code-window {
    background: #1e1e1e; /* Black/dark background for code window */
    border: 1px solid #333;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #2d2d2d; /* Dark gray header for black code window */
    border-bottom: 1px solid #404040;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

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

.code-title {
    margin-left: 12px;
    font-size: 13px;
    color: #a0a0a0; /* Light gray text for dark background */
    font-family: 'JetBrains Mono', monospace;
}

.code-content {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    background: #1e1e1e; /* Black background */
    color: #d4d4d4; /* Light text color for readability */
}

.code-content pre {
    margin: 0;
    color: #d4d4d4;
}

.code-content code {
    color: #d4d4d4;
}

.code-keyword { color: #c792ea; }
.code-type { color: #82aaff; }
.code-property { color: #7fdbca; }
.code-string { color: #c3e88d; }
.code-number { color: #f78c6c; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 168, 204, 0.1);
    border: 1px solid rgba(0, 168, 204, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   Tech Stack Section
   ============================================ */
.tech-stack-section {
    background: var(--bg-secondary);
}

.tech-visual-showcase {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 48px;
    padding: 32px 0;
    position: relative;
}

.tech-visual-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.tech-visual-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    cursor: pointer;
    min-width: 90px;
    position: relative;
    overflow: hidden;
}

.tech-visual-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.tech-visual-item:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.tech-visual-item:hover::before {
    transform: scaleX(1);
}

.tech-visual-icon {
    font-size: 32px;
    transition: var(--transition);
    filter: grayscale(0.3);
}

.tech-visual-item:hover .tech-visual-icon {
    transform: scale(1.15) rotate(5deg);
    filter: grayscale(0);
}

.tech-visual-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.tech-visual-item:hover .tech-visual-label {
    color: var(--text-primary);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 168, 204, 0.3);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    min-height: auto;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.tech-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.tech-icon {
    line-height: 1;
    flex-shrink: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon-emoji {
    font-size: 24px;
    filter: grayscale(0.2);
}

.tech-icon-svg {
    font-size: 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon-svg i {
    font-size: 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-card:hover .tech-icon-emoji {
    filter: grayscale(0);
    transform: scale(1.1);
}

.tech-card:hover .tech-icon-svg {
    transform: scale(1.1);
}

.tech-card:hover .tech-icon-svg i {
    transform: scale(1.05);
}

.tech-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
}

.tech-level {
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tech-used-in {
    margin-bottom: 16px;
}

.tech-used-in-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tech-used-in-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-used-item {
    padding: 4px 10px;
    background: rgba(0, 168, 204, 0.1);
    border: 1px solid rgba(0, 168, 204, 0.25);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--teal-dark);
    font-weight: 500;
}

.tech-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tech-keyword {
    padding: 3px 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card.featured {
    border-color: var(--teal);
    background: linear-gradient(135deg, rgba(0, 168, 204, 0.05) 0%, rgba(30, 58, 95, 0.05) 100%);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.project-icon {
    font-size: 40px;
}

.project-badge {
    padding: 4px 12px;
    background: var(--gradient-1);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-subtitle {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.tech-tag i {
    font-size: 16px;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

/* Interactive Project Expand Button */
.project-expand-btn {
    width: 100%;
    padding: 12px 20px;
    margin-top: 20px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.project-expand-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(0, 168, 204, 0.05);
}

.project-expand-btn svg {
    transition: transform 0.3s ease;
}

.project-expand-btn.active svg {
    transform: rotate(180deg);
}

/* Expanded Content */
.project-expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0;
    margin-top: 0;
}

.project-expanded-content.active {
    max-height: 1000px;
    padding: 24px 0 0;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
}

.expanded-section {
    margin-bottom: 24px;
}

.expanded-section:last-child {
    margin-bottom: 0;
}

.expanded-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.expanded-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expanded-section li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.expanded-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.highlight-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
}

.timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: 3px solid var(--bg-secondary);
    box-shadow: var(--shadow-glow);
}

.timeline-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--bg-primary);
}

/* Interactive Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 48px auto;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
    background: rgba(220, 38, 38, 0.1);
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-link:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-link svg {
    color: var(--text-tertiary);
    transition: var(--transition);
}

.contact-link:hover svg {
    color: var(--primary);
    transform: translateX(4px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    background: #e8ecf1;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-subtitle {
    color: var(--text-tertiary);
    font-size: 12px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-primary);
        width: 100%;
        padding: 24px;
        border-top: 1px solid var(--border-color);
        transition: var(--transition);
        gap: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-photo-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .photo-frame-decoration {
        width: 230px;
        height: 230px;
    }
    
    .photo-icon {
        font-size: 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .tech-visual-showcase {
        gap: 16px;
        padding: 32px 0;
    }
    
    .tech-visual-item {
        min-width: 80px;
        padding: 12px;
    }
    
    .tech-visual-icon {
        font-size: 28px;
    }
    
    .tech-visual-label {
        font-size: 11px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .tech-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        grid-template-columns: 1fr;
    }
}

