:root {
    --primary: #3a86ff;
    --primary-dark: #2667cc;
    --primary-light: #6ba4ff;
    --secondary: #8338ec;
    --secondary-dark: #6a2dc7;
    --accent: #ff006e;
    --accent-dark: #d9005c;
    --text: #1a1a1a;
    --text-light: #4a5568;
    --text-lighter: #718096;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    --gradient-bg: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary: #4a9cff;
    --primary-dark: #3a86ff;
    --primary-light: #6ba4ff;
    --secondary: #9d5cff;
    --secondary-dark: #8338ec;
    --accent: #ff4081;
    --accent-dark: #ff006e;
    --text: #e2e8f0;
    --text-light: #a0aec0;
    --text-lighter: #718096;
    --bg: #0f1419;
    --bg-secondary: #1a202c;
    --bg-tertiary: #2d3748;
    --bg-card: #1e293b;
    --border: #2d3748;
    --border-light: #374151;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --gradient-bg: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

/* Dark Mode Specific Styles */
[data-theme="dark"] body::before {
    background: radial-gradient(circle at 15% 50%, rgba(58, 134, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(131, 56, 236, 0.05) 0%, transparent 50%);
}

[data-theme="dark"] header {
    background: rgba(15, 20, 25, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .header-scrolled {
    background: rgba(15, 20, 25, 0.98);
}

[data-theme="dark"] .logo {
    color: var(--text);
}

[data-theme="dark"] nav ul li a {
    color: var(--text);
}

[data-theme="dark"] nav ul li a:hover {
    background: rgba(74, 156, 255, 0.1);
}

[data-theme="dark"] .theme-toggle {
    color: var(--text);
}

[data-theme="dark"] .mobile-menu span {
    background: var(--text);
}

[data-theme="dark"] .hero {
    background: var(--gradient-bg);
}

[data-theme="dark"] .about {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .stat {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .company-logo {
    background: var(--gradient-primary);
}

[data-theme="dark"] .tech-tag {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-light);
}

[data-theme="dark"] .tech-tag:hover {
    background: var(--gradient-primary);
    color: white;
}

[data-theme="dark"] .project-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

[data-theme="dark"] .project-item:hover {
    border-color: var(--primary-light);
}

[data-theme="dark"] .skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .skill-bar {
    background: var(--bg-secondary);
}

[data-theme="dark"] .achievement-card {
    background: var(--bg-card);
}

[data-theme="dark"] .education-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .contact-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .form-control {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    color: var(--text);
}

[data-theme="dark"] .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 156, 255, 0.1);
}

[data-theme="dark"] .social-link {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text);
}

[data-theme="dark"] .social-link:hover {
    background: var(--gradient-primary);
    color: white;
}

[data-theme="dark"] footer {
    background: var(--bg-secondary);
}

[data-theme="dark"] .copyright {
    border-top: 1px solid var(--border);
}

[data-theme="dark"] .modal-content {
    background: var(--bg-card);
}

[data-theme="dark"] .modal-section h3 {
    border-bottom: 2px solid var(--border);
    color: var(--text);
}

[data-theme="dark"] .tech-pill {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text);
}

[data-theme="dark"] .tech-pill:hover {
    background: var(--gradient-primary);
    color: white;
}

[data-theme="dark"] .achievements {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .certification-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .language-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .mobile-sidebar {
    background: var(--bg-card);
}

[data-theme="dark"] .mobile-sidebar ul li {
    border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] .mobile-sidebar ul li:hover {
    background-color: rgba(74, 156, 255, 0.1);
}

[data-theme="dark"] .mobile-sidebar a {
    color: var(--text);
}

[data-theme="dark"] .overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* Enhanced scrollbar for dark mode */
[data-theme="dark"] ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--primary);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Dark Mode Projects Section Fix */
[data-theme="dark"] .projects {
    background: var(--bg-secondary) !important;
    position: relative;
}

[data-theme="dark"] .projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23374151' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

[data-theme="dark"] .projects h2 {
    color: var(--text) !important;
}

[data-theme="dark"] .projects h2::after {
    background: var(--gradient-primary) !important;
}

[data-theme="dark"] .project-search {
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
}

[data-theme="dark"] .project-search::placeholder {
    color: var(--text-light);
}

[data-theme="dark"] .project-search:focus {
    border-color: var(--primary);
    background: var(--bg-tertiary);
}

[data-theme="dark"] .filter-btn {
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
}

[data-theme="dark"] .filter-btn.active,
[data-theme="dark"] .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

[data-theme="dark"] .project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

[data-theme="dark"] .project-card-header {
    background: var(--gradient-primary);
}

[data-theme="dark"] .project-category {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .project-description {
    color: var(--text-light);
}

[data-theme="dark"] .project-role {
    color: var(--text);
}

[data-theme="dark"] .highlight-item {
    color: var(--text-light);
}

[data-theme="dark"] .tech-pill {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text);
}

[data-theme="dark"] .tech-pill:hover {
    background: var(--gradient-primary);
    color: white;
}

[data-theme="dark"] .project-card-footer {
    border-top: 1px solid var(--border);
}

[data-theme="dark"] .btn-view-details {
    background: var(--gradient-primary);
    color: white;
}

[data-theme="dark"] .btn-view-details:hover {
    box-shadow: 0 10px 25px rgba(74, 156, 255, 0.4);
}

[data-theme="dark"] .project-card-header {
    padding: 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--text);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .project-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

[data-theme="dark"] .project-card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 156, 255, 0.05), transparent);
    transform: rotate(45deg);
    transition: var(--transition-slow);
}

[data-theme="dark"] .project-card:hover .project-card-header::after {
    transform: rotate(45deg) translate(100%, 100%);
}

/* Dark Mode Status Badges */
[data-theme="dark"] .status-production {
    background: #10b981;
}

[data-theme="dark"] .status-legacy {
    background: #6b7280;
}

[data-theme="dark"] .status-alpha {
    background: #ef4444;
}

[data-theme="dark"] .status-development {
    background: #3b82f6;
}

[data-theme="dark"] .status-prototype {
    background: #f59e0b;
}

[data-theme="dark"] .status-staging {
    background: #6366f1;
}

[data-theme="dark"] .status-sandbox {
    background: #14b8a6;
}

[data-theme="dark"] .status-preprod {
    background: #8b5cf6;
}

[data-theme="dark"] .status-uat {
    background: #f97316;
}

[data-theme="dark"] .status-beta {
    background: #eab308;
}

[data-theme="dark"] .status-deprecated {
    background: #9ca3af;
}

/* Print styles adjustment for dark mode */
@media print {
    [data-theme="dark"] {
        --text: #000000;
        --bg: #ffffff;
        --bg-card: #ffffff;
    }
}

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

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

body {
    font-family: 'Inter', 'Nanum Gothic', "나눔고딕", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    transition: var(--transition);
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 20px;
    border: 3px solid var(--bg);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(58, 134, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(131, 56, 236, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}


p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: var(--secondary);
    border-color: transparent;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}


nav ul li a {
    color: var(--text);
    font-weight: 500;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

nav ul li a:hover::before {
    width: 80%;
}

nav ul li a:hover {
    background: rgba(58, 134, 255, 0.05);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 20px;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary);
}

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

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 100%;
}

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


.hero-text {
    position: relative;
    text-align: justify;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-xl);
    z-index: -1;
    transform: rotate(-2deg);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    transition: var(--transition-slow);
}

.hero-image:hover img {
    transform: translate(-5px, -5px);
}

/* About Section */
.about {
    background-color: var(--bg-secondary);
    position: relative;
}

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


.about-text {
    position: relative;
    text-align: justify;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    background: var(--gradient-accent);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    transform: rotate(2deg);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: translate(5px, -5px);
}

/* Experience Section */
.experience {
    padding: 100px 0;
    background: var(--bg);
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 40px;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 40px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 40px;
    width: 24px;
    height: 24px;
    background: var(--bg-card);
    transform: rotate(45deg);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -12px;
}

.timeline-date {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-date {
    justify-content: flex-end;
    padding-right: 40px;
}

.timeline-item:nth-child(even) .timeline-date {
    justify-content: flex-start;
    padding-left: 40px;
}

.date-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 160px;
    font-size: 0.9rem;
}

.timeline-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--bg);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 4px var(--bg);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -12px;
}

.company-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.project-featured-tag {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 1px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    top: 5px;
    font-weight: 600;
    display: inline-block; /* Make it inline */
    margin-left: 8px;
}

.company-logo {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-right: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.company-logo:hover {
    transform: scale(1.05);
}

.company-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.company-info .role {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.responsibilities {
    margin: 24px 0;
}

.responsibilities h4 {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.responsibilities ul {
    list-style-type: none;
}

.responsibilities li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.responsibilities li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.tech-tag:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.projects-toggle {
    margin-top: 24px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 8px 0;
    font: inherit;
}

.projects-toggle:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.projects-container {
    margin-top: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.projects-container.open {
    max-height: 2000px;
}

.project-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.project-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-light);
}

.project-item h4 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1.1rem;
}

.project-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.projects .container {
    position: relative;
    z-index: 2;
}

.projects h2 {
    color: white;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
}

.projects h2::after {
    background: white;
}

/* Enhanced Search and Filter */
.project-search {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 3rem;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    transition: var(--transition);
}

.project-search::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.project-search:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.filter-btn.active,
.filter-btn:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Enhanced Project Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 2.5rem;
    perspective: 1000px;
}

.project-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.project-card:hover {
    transform: translateY(-10px) rotateX(0deg);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

.project-card-header {
    padding: 2rem;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.project-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-slow);
}

.project-card:hover .project-card-header::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.project-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    font: inherit;
    letter-spacing: 0.5px;
}

.project-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.status-production {
    background: #10b981;
}

.status-legacy {
    background: #6b7280;
}

.status-alpha {
    background: #ef4444;
}

.status-development {
    background: #3b82f6;
}

.status-prototype {
    background: #f59e0b;
}

.status-staging {
    background: #6366f1;
}

.status-sandbox {
    background: #14b8a6;
}

.status-preprod {
    background: #8b5cf6;
}

.status-uat {
    background: #f97316;
}

.status-beta {
    background: #eab308;
}

.status-deprecated {
    background: #9ca3af;
}


.project-title {
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.project-company {
    opacity: 0.9;
    margin: 0.25rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.project-timeline {
    opacity: 0.8;
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

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

.project-description {
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
    font-size: 1rem;
    text-align: justify;
}

.project-role {
    font-weight: 600;
    color: var(--text);
    font-size: 1.1rem;
}

.project-highlights {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tech-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-pill {
    background: var(--bg-secondary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text);
    font-weight: 500;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tech-pill:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.project-card-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--border-light);
}

.btn-view-details {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.btn-view-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Enhanced Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 3000;
    overflow-y: auto;
    padding: 20px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

.modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    margin: 40px auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.modal-header:hover::before {
    transform: translateX(100%);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.modal-subtitle {
    opacity: 0.9;
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.modal-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.modal-body {
    padding: 2.5rem;
}

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

.modal-section p {
    text-align: justify;
}

.modal-section h3 {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.75rem;
    position: relative;
}

.modal-section h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
}

/* Enhanced Impact badges */
.impact-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.impact-critical {
    background: #ef4444;
    color: white;
}

.impact-high {
    background: #f59e0b;
    color: white;
}

.impact-medium {
    background: #10b981;
    color: white;
}

.impact-low {
    background: #3b82f6;
    color: white;
}

.feature-impact-critical {
    border-left: 4px solid #ef4444;
    padding-left: 1.5rem;
}

.feature-impact-high {
    border-left: 4px solid #f59e0b;
    padding-left: 1.5rem;
}

.feature-impact-medium {
    border-left: 4px solid #10b981;
    padding-left: 1.5rem;
}

.feature-impact-low {
    border-left: 4px solid #3b82f6;
    padding-left: 1.5rem;
}

.feature-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Enhanced Outcome styles */
.outcome-metric {
    font-weight: 700;
    color: var(--text);
    font-size: 1.1rem;
}

.outcome-comparison {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
}

.outcome-before {
    color: #ef4444;
    text-decoration: line-through;
    font-weight: 500;
}

.outcome-after {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

.outcome-improvement {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Enhanced Tech stack styles */
.tech-category {
    margin-bottom: 1.5rem;
}

.tech-category h4 {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.tech-tag {
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}


/* Enhanced Metric styles */
.metric-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.metric-item:hover {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 0 -1rem;
}

.metric-name {
    color: var(--text-light);
    font-weight: 500;
}

.metric-value {
    font-weight: 700;
    color: var(--text);
    font-size: 1.1rem;
}

/* Achievement styles */

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

.achievements-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
}

.achievements-list li::before {
    content: '🏆';
    font-size: 1.2rem;
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
}

.skill-category h3 i {
    color: var(--primary);
    font-size: 1.5rem;
}

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

.skill-list li {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-name {
    font-weight: 500;
    color: var(--text);
}

.skill-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 100px;
    margin-left: 1rem;
}

.skill-level {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Achievements Section */
.achievements {
    background-color: var(--bg-secondary);
    position: relative;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Education Section */
.education-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.education-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.education-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.education-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

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

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    background: var(--bg);
    color: var(--text);
    transition: var(--transition);
    font-size: 1rem;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.1);
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.5;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 4rem 0 1rem;
    position: relative;
}

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

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Project Details Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: var(--bg-card);
    max-width: 800px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalFade 0.3s;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    z-index: 10;
}

.modal-header {
    padding: 30px 30px 0;
}

.modal-body {
    padding: 20px 30px 30px;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.detail-item h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.detail-item ul {
    padding-left: 20px;
}

.detail-item li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .project-details-grid {
        grid-template-columns: 1fr;
    }
}

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

.certification-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.certification-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.certification-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.certification-card:hover .certification-icon {
    transform: scale(1.1) rotate(5deg);
}

.certification-card:hover .certification-icon::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.certification-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.certification-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.certification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-light);
}

.certification-date {
    font-weight: 600;
    color: var(--primary);
}

.certification-issuer {
    font-weight: 500;
}

/* Languages Section */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.language-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.language-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.language-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.language-name {
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Base flag icon style */
.language-name::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 14px;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
}

/* Individual flags */
.language-name.en::before {
    background-image: url('https://flagcdn.com/w20/us.png');
}

.language-name.in::before {
    background-image: url('https://flagcdn.com/w20/in.png');
}

.language-name.kr::before {
    background-image: url('https://flagcdn.com/w20/kr.png');
}

.language-name.np::before {
    background-image: url('https://flagcdn.com/w20/np.png');
}

.language-level {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.language-item:hover .language-level {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.featured-achievement {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    position: relative;
}

.featured-achievement::before {
    content: 'Featured';
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.achievement-meta {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.achievement-tag {
    padding: 4px 10px;
    background: var(--bg-secondary);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
}


/* Enhanced Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: var(--bg-card);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    padding-top: 80px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.mobile-sidebar.open {
    right: 0;
}

.mobile-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-sidebar ul li {
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.2s;
}

.mobile-sidebar ul li:hover {
    background-color: rgba(58, 134, 255, 0.05);
}

.mobile-sidebar ul li:last-child {
    border-bottom: none;
}

.mobile-sidebar a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 1.25rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.mobile-sidebar a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.mobile-sidebar a:hover::before {
    width: 5px;
}

.mobile-sidebar a:hover {
    color: var(--primary);
    padding-left: 2.5rem;
}

.mobile-sidebar a i {
    margin-right: 1rem;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

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

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 60px;
    }

    .timeline-date {
        flex: 0 0 120px;
        padding-right: 0;
        padding-left: 0;
        justify-content: flex-start;
    }

    .timeline-content {
        margin-left: 40px !important;
        margin-right: 0 !important;
    }

    .timeline-content::before {
        left: -12px !important;
        right: auto !important;
    }

    .timeline-marker {
        left: 18px !important;
        right: auto !important;
    }

    .date-badge {
        min-width: 100px;
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }

    section {
        padding: 80px 0;
    }

    nav ul {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .projects-grid,
    .skills-container,
    .achievements-grid,
    .education-container,
    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .project-details-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .projects-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }

    .modal-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .project-highlights {
        flex-direction: column;
    }

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

/* Enhanced Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Enhanced Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Enhanced Focus States */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Enhanced Selection */
::selection {
    background: var(--primary-light);
    color: white;
}

::-moz-selection {
    background: var(--primary-light);
    color: white;
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Enhanced Print Styles */
@media print {
    .btn,
    .mobile-menu,
    .social-links,
    .contact-form {
        display: none !important;
    }

    .hero-image::before,
    .about-image::before {
        display: none;
    }

    .project-card:hover {
        transform: none !important;
    }
}


/* Hero Visual Container */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Option 1: Code Editor Styles */
.code-editor {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 400px;
    border: 1px solid var(--border-light);
}

[data-theme="dark"] .code-editor {
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.editor-header {
    background: var(--bg-secondary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] .editor-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.window-controls {
    display: flex;
    gap: 8px;
}

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

.control.close {
    background: #ff5f57;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #28ca42;
}

.file-name {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.editor-content {
    display: flex;
    padding: 16px;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
}

.line-numbers {
    color: var(--text-lighter);
    text-align: right;
    padding-right: 12px;
    user-select: none;
}

.line-numbers span {
    display: block;
    margin-bottom: 2px;
}

.code {
    flex: 1;
}

.code-line {
    margin-bottom: 2px;
}

.keyword {
    color: #ff6b6b;
}

.variable {
    color: #51cf66;
}

.property {
    color: #ffa94d;
}

.string {
    color: #339af0;
}

.number {
    color: #cc5de8;
}

/* Option 2: Floating Tech Icons */
.floating-tech {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    background: var(--bg-card);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-light);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
    transition: all 0.3s ease;
    cursor: pointer;
}

[data-theme="dark"] .tech-icon {
    background: var(--bg-card);
    border: 2px solid var(--border);
}

.tech-icon:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

/* Tech Tooltips */
.tech-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: var(--bg);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.tech-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--text);
}

.tech-icon:hover .tech-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Specific Technology Colors */
.tech-icon.java {
    color: #ED8B00;
}

.tech-icon.spring {
    color: #6DB33F;
}

.tech-icon.node {
    color: #339933;
}

.tech-icon.python {
    color: #3776AB;
}

.tech-icon.react {
    color: #61DAFB;
}

.tech-icon.angular {
    color: #DD0031;
}

.tech-icon.vue {
    color: #4FC08D;
}

.tech-icon.typescript {
    color: #3178C6;
}

.tech-icon.aws {
    color: #FF9900;
}

.tech-icon.docker {
    color: #2496ED;
}

.tech-icon.kubernetes {
    color: #326CE5;
}

.tech-icon.azure {
    color: #0078D4;
}

.tech-icon.database {
    color: #336791;
}

.tech-icon.postgresql {
    color: #336791;
}

.tech-icon.mongodb {
    color: #47A248;
}

.tech-icon.git {
    color: #F05032;
}

.tech-icon.jenkins {
    color: #D24939;
}

.tech-icon.linux {
    color: #FCC624;
}

/* Positioning for better distribution */
.tech-icon.java {
    top: 10%;
    left: 15%;
}

.tech-icon.spring {
    top: 5%;
    right: 20%;
}

.tech-icon.node {
    top: 15%;
    left: 60%;
}

.tech-icon.python {
    top: 25%;
    right: 10%;
}

.tech-icon.react {
    top: 40%;
    left: 5%;
}

.tech-icon.angular {
    top: 35%;
    right: 25%;
}

.tech-icon.vue {
    top: 50%;
    left: 55%;
}

.tech-icon.typescript {
    top: 45%;
    right: 5%;
}

.tech-icon.aws {
    top: 65%;
    left: 15%;
}

.tech-icon.docker {
    top: 60%;
    right: 20%;
}

.tech-icon.kubernetes {
    top: 75%;
    left: 60%;
}

.tech-icon.azure {
    top: 70%;
    right: 10%;
}

.tech-icon.database {
    bottom: 15%;
    left: 25%;
}

.tech-icon.postgresql {
    bottom: 10%;
    left: 45%;
}

.tech-icon.mongodb {
    bottom: 5%;
    right: 35%;
}

.tech-icon.git {
    bottom: 20%;
    right: 25%;
}

.tech-icon.jenkins {
    bottom: 10%;
    right: 15%;
}

.tech-icon.linux {
    bottom: 5%;
    left: 35%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(5deg);
    }
}

/* Enhanced floating animation for different icons */
.tech-icon:nth-child(odd) {
    animation-name: float-odd;
}

.tech-icon:nth-child(even) {
    animation-name: float-even;
}

@keyframes float-odd {
    0%, 100% {
        transform: translateY(0px) rotate(-2deg);
    }
    50% {
        transform: translateY(-25px) rotate(3deg);
    }
}

@keyframes float-even {
    0%, 100% {
        transform: translateY(0px) rotate(2deg);
    }
    50% {
        transform: translateY(-20px) rotate(-3deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-tech {
        width: 280px;
        height: 280px;
    }

    .tech-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        border-radius: 15px;
    }

    .tech-tooltip {
        font-size: 0.7rem;
        padding: 4px 8px;
        bottom: -35px;
    }

    /* Adjust positions for mobile */
    .tech-icon.java {
        top: 8%;
        left: 10%;
    }

    .tech-icon.spring {
        top: 4%;
        right: 15%;
    }

    .tech-icon.node {
        top: 12%;
        left: 55%;
    }

    .tech-icon.python {
        top: 20%;
        right: 8%;
    }

    .tech-icon.react {
        top: 35%;
        left: 3%;
    }

    .tech-icon.angular {
        top: 30%;
        right: 20%;
    }

    .tech-icon.vue {
        top: 45%;
        left: 50%;
    }

    .tech-icon.typescript {
        top: 40%;
        right: 3%;
    }

    .tech-icon.aws {
        top: 60%;
        left: 12%;
    }

    .tech-icon.docker {
        top: 55%;
        right: 15%;
    }

    .tech-icon.kubernetes {
        top: 70%;
        left: 55%;
    }

    .tech-icon.azure {
        top: 65%;
        right: 8%;
    }

    .tech-icon.database {
        bottom: 12%;
        left: 20%;
    }

    .tech-icon.postgresql {
        bottom: 8%;
        left: 40%;
    }

    .tech-icon.mongodb {
        bottom: 4%;
        right: 30%;
    }

    .tech-icon.git {
        bottom: 15%;
        right: 20%;
    }

    .tech-icon.jenkins {
        bottom: 8%;
        right: 12%;
    }

    .tech-icon.linux {
        bottom: 4%;
        left: 30%;
    }
}

@media (max-width: 480px) {
    .floating-tech {
        width: 220px;
        height: 220px;
    }

    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-radius: 12px;
    }

    .tech-tooltip {
        font-size: 0.6rem;
        padding: 3px 6px;
        bottom: -30px;
    }
}


.form-status {
    margin-top: 1em;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Success state */
.form-status:not(:empty) {
    background: #f0f9ff;
    border-color: #0ea5e9;
    color: #0369a1;
}

/* Error state */
.form-status:contains("Oops"),
.form-status:contains("Network error") {
    background: #fef2f2;
    border-color: #ef4444;
    color: #dc2626;
}

/* Sending state */
.form-status:contains("Sending") {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #d97706;
}

/* Language Toggle Styles */
.lang-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 15px;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid var(--border);
}

.lang-toggle:hover {
    background: rgba(58, 134, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Dark mode adjustments */
[data-theme="dark"] .lang-toggle {
    border-color: var(--border-light);
}

[data-theme="dark"] .lang-toggle:hover {
    background: rgba(74, 156, 255, 0.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lang-toggle {
        margin-left: 10px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}
