:root {
    /* Light theme with high contrast - Blue/Indigo palette */
    --background: 210 40% 96%;
    --foreground: 222 47% 11%;
    --card: rgba(255, 255, 255, 0.95);
    --card-foreground: 222 47% 11%;
    --primary: 217 91% 35%;
    --primary-foreground: 210 40% 98%;
    --secondary: rgba(239, 246, 255, 0.95);
    --secondary-foreground: 217 91% 25%;
    --muted: rgba(226, 232, 240, 0.95);
    --muted-foreground: 215 16% 30%;
    --accent: rgba(219, 234, 254, 0.95);
    --accent-foreground: 217 91% 35%;
    --primary-color: 217 91% 35%;
    --primary-light: 217 91% 50%;
    --primary-dark: 217 91% 25%;
    --border: rgba(148, 163, 184, 0.95);
    --input: rgba(148, 163, 184, 0.9);
    --ring: 217 91% 35%;
    --glass-bg: rgba(255, 255, 255, 0.5);
    --glass-border: rgba(148, 163, 184, 0.4);
    --glass-shadow: rgba(0, 0, 0, 0.15);
    --radius: 0.75rem;
}

html.dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: rgba(30, 41, 59, 0.9);
    --card-foreground: 210 40% 98%;
    --popover: rgba(15, 23, 42, 0.95);
    --popover-foreground: 210 40% 98%;
    --primary: 158 50% 45%;
    --primary-foreground: 222.2 47.4% 11.2%;
    --secondary: rgba(30, 41, 59, 0.8);
    --secondary-foreground: 158 50% 70%;
    --muted: rgba(51, 65, 85, 0.8);
    --muted-foreground: 215 20.2% 75%;
    --accent: rgba(20, 83, 45, 0.7);
    --accent-foreground: 158 50% 80%;
    --primary-color: 158 50% 45%;
    --primary-light: 158 40% 60%;
    --primary-dark: 158 70% 30%;
    --border: rgba(71, 85, 105, 0.8);
    --input: rgba(71, 85, 105, 0.6);
    --ring: 158 50% 60%;
    --glass-bg: rgba(0, 0, 0, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: Inter, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    background: linear-gradient(135deg, 
        hsl(var(--background)) 0%, 
        hsl(210 50% 92%) 50%, 
        hsl(var(--background)) 100%);
    min-height: 100vh;
    position: relative;
}

.dark body {
    background: linear-gradient(135deg, 
        hsl(12 12% 8%) 0%, 
        hsl(15 15% 12%) 50%, 
        hsl(12 12% 8%) 100%);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, hsl(var(--primary-color) / 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, hsl(var(--primary-color) / 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, hsl(var(--primary-color) / 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.section-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Glassmorphism Components */
.glass-card {
    border-radius: calc(var(--radius) + 4px);
    background: var(--card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: hsl(var(--card-foreground));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::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;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dark .glass-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 8px 24px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    height: auto;
    text-decoration: none;
    border-radius: calc(var(--radius));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, 
        hsl(var(--primary-color)) 0%, 
        hsl(var(--primary-dark)) 100%);
    color: white !important;
    border: 1px solid hsl(var(--primary-color) / 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 
        0 4px 14px hsl(var(--primary-color) / 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, 
        hsl(var(--primary-light)) 0%, 
        hsl(var(--primary-color)) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px hsl(var(--primary-color) / 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.dark .btn-primary:hover {
    color: white !important;
    background: linear-gradient(135deg, 
        hsl(var(--primary-dark)) 0%, 
        hsl(var(--primary-light)) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 8px 24px hsl(var(--primary-color) / 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: hsl(var(--primary-color));
    border: 1px solid hsl(var(--primary-color) / 0.4);
}

.btn-secondary:hover {
    background: hsl(var(--primary-color) / 0.2);
    color: white;
}

.btn-full {
    width: 100%;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dark .header {
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: hsl(var(--foreground));
    text-decoration: none;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.logo:hover {
    color: hsl(var(--primary-color));
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: calc(var(--radius));
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dark .theme-toggle {
    background: rgba(51, 65, 85, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-toggle:hover {
    background: hsl(var(--primary-color));
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px hsl(var(--primary-color) / 0.3);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: calc(var(--radius));
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
    gap: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.dark .mobile-menu-toggle {
    background: rgba(51, 65, 85, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-toggle:hover {
    background: hsl(var(--primary-color));
    color: white;
    transform: translateY(-1px);
}

.mobile-menu-close {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: calc(var(--radius));
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: hsl(var(--foreground));
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    gap: 0.25rem;
    position: absolute; 
    top: 1rem;
    right: 1.5rem;
    z-index: 100; 
}

        .mobile-menu-close span {
            width: 1.25rem;
            height: 2px;
            background: currentColor;
            transition: all 0.3s ease;
            transform-origin: center;
        }
.mobile-menu-close span:nth-child(1) {
transform: translateY(6px) rotate(45deg);
}

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

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

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}


/* Hero Section - More Stylized */
.hero {
    padding-top: 8rem;
    padding-bottom: 8rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 20%, hsl(var(--primary-color) / 0.2) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, hsl(var(--primary-light) / 0.15) 0%, transparent 40%);
    pointer-events: none;
    animation: heroGradient 20s ease infinite;
}

@keyframes heroGradient {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(180deg); }
}

.hero-content {
    text-align: center;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(12px);
    border-radius: 999px;
    border: 2px solid hsl(var(--primary-color) / 0.3);
    box-shadow: 0 4px 24px hsl(var(--primary-color) / 0.2);
}

.dark .hero-badge {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.9) 0%, 
        rgba(51, 65, 85, 0.8) 100%);
}

.status-indicator {
    display: inline-block;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: hsl(var(--primary-color));
    margin-right: 0.75rem;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 hsl(var(--primary-color) / 0.7);
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 0 0 hsl(var(--primary-color) / 0.7);
    }
    50% { 
        opacity: 0.7;
        box-shadow: 0 0 0 8px hsl(var(--primary-color) / 0);
    }
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--primary-color));
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, 
        hsl(var(--foreground)) 0%, 
        hsl(var(--primary-color)) 50%,
        hsl(var(--primary-dark)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease forwards;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-greeting {
    display: block;
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.hero-role {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

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

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: blur(12px);
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid hsl(var(--border));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.dark .hero-stats {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.8) 0%, 
        rgba(51, 65, 85, 0.7) 100%);
}

/* Hero Photo Styles */
.hero-with-photo {
    flex-direction: row;
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.hero-photo-container {
    text-align: center;
    flex-shrink: 0;
    order: 2; 
}

.hero-text-content {
    flex: 1;
    order: 1;
}

.hero-photo {
    width: 235px; 
    height: 235px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        hsl(var(--primary-color)) 0%, 
        hsl(var(--primary-dark)) 100%);
    color: white;
    font-size: 5rem;
    border: 4px solid hsl(var(--primary-color) / 0.3);
    box-shadow: 0 8px 32px hsl(var(--primary-color) / 0.2);
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Update button arrows */
.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-actions .btn i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.hero-actions .btn:hover i {
    transform: translateX(3px);
}

/* Mobile Responsive for Photo */
@media (max-width: 768px) {
    .hero-with-photo {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    
    .hero-photo-container {
        text-align: center;
        order: 2;
    }
    
    .hero-text-content {
        order: 1;
    }
    
    .hero-photo {
        margin-left: auto;
        margin-right: auto;
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }
}

/* For very small mobile screens */
@media (max-width: 480px) {
    .hero-photo {
        width: 160px;
        height: 160px;
        font-size: 3.5rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: hsl(var(--primary-color));
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 16rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid hsl(var(--border));
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 60;
}

.dark .mobile-menu {
    background: rgba(15, 23, 42, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.mobile-menu-link {
    display: block;
    padding: 0.875rem 1rem;
    border-radius: calc(var(--radius));
    font-weight: 500;
    text-decoration: none;
    color: hsl(var(--foreground));
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid hsl(var(--border));
}

.dark .mobile-menu-link {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-link:hover {
    background: hsl(var(--primary-color));
    color: white;
    transform: translateX(-4px);
    box-shadow: 0 4px 12px hsl(var(--primary-color) / 0.3);
}

.about-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.about-text p {
    margin-bottom: 1.5rem;
    color: hsl(var(--muted-foreground));
}

.highlight-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: calc(var(--radius));
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid hsl(var(--border));
}

.highlight-box h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

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

.value-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.value-list i {
    color: hsl(var(--primary-color));
    margin-top: 0.25rem;
}

.profile-card {
    text-align: center;
    padding: 2rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        hsl(var(--primary-color)) 0%, 
        hsl(var(--primary-dark)) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 3rem;
    color: white;
    border: 1px solid hsl(var(--primary-color) / 0.2);
    box-shadow: 0 4px 8px hsl(var(--primary-color) / 0.2);
    overflow: hidden;
    margin-bottom: 1rem;
}

.profile-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.profile-info p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: calc(var(--radius));
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: hsl(var(--primary-color));
    animation: pulse 2s infinite;
}

.quick-facts {
    margin-top: 2rem;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid hsl(var(--border));
}

.fact-item:last-child {
    border-bottom: none;
}

.fact-item i {
    color: hsl(var(--primary-color));
    width: 1rem;
}

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

@media (min-width: 640px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skill-category .glass-card {
    height: 100%;
}

.skill-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.skill-icon {
    width: 3rem;
    height: 3rem;
    border-radius: calc(var(--radius));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, 
        hsl(var(--primary-color)) 0%, 
        hsl(var(--primary-dark)) 100%);
    color: white;
    transition: all 0.3s ease;
}

.skill-icon:hover {
    transform: translateY(-2px) scale(1.05);
}

.dark .skill-icon:hover {
    transform: translateY(-4px) scale(1.1);
}

.skill-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.skill-header p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

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

.skill-tag {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: calc(var(--radius));
    background: rgba(255, 255, 255, 0.1);
    color: hsl(var(--foreground));
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.skill-tag-primary {
    background: hsl(var(--primary-color) / 0.1);
    color: hsl(var(--primary-color));
    border-color: hsl(var(--primary-color) / 0.3);
}

.skill-tag:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.2);
}

.timeline {
    position: relative;
    padding-left: 1rem;
    padding-top: -2rem;
    max-width: 48rem;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, 
        hsl(var(--primary-color)) 0%,
        hsl(var(--primary-light)) 50%,
        hsl(var(--primary-color)) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -0.75rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        hsl(var(--primary-color)) 0%, 
        hsl(var(--primary-light)) 100%);
    border: 3px solid hsl(var(--background));
    box-shadow: 0 0 0 2px hsl(var(--background));
    z-index: 2;
}

.timeline-content {
    margin-left: 1rem;
    background: var(--card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.5rem;
    box-shadow: 
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--primary-color));
}

.timeline-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: calc(var(--radius));
    background: hsl(var(--primary-color) / 0.1);
    color: hsl(var(--primary-color));
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.timeline-company {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.responsibility-list {
    list-style: none;
    margin-top: 1rem;
}

.responsibility-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.responsibility-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background: hsl(var(--primary-color));
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: calc(var(--radius));
    background: hsl(var(--primary-color) / 0.1);
    color: hsl(var(--primary-color));
}

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

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-image {
    height: 12rem;
    width: 100%;
    object-fit: cover;
}

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

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.project-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

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

.contact {
    max-width: 48rem;
    margin: 0 auto;
}

.contact-intro {
    margin-bottom: 2rem;
    color: hsl(var(--muted-foreground));
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: calc(var(--radius));
    background: var(--card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 4px 16px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: calc(var(--radius));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: linear-gradient(135deg, 
        hsl(var(--primary-color)) 0%, 
        hsl(var(--primary-dark)) 100%);
    color: white;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: translateY(-2px) scale(1.05);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    text-decoration: none;
}

.contact-value:hover {
    color: hsl(var(--primary-color));
}

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

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: calc(var(--radius));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: linear-gradient(135deg, 
        hsl(var(--primary-color)) 0%, 
        hsl(var(--primary-dark)) 100%);
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.05);
}

.footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid hsl(var(--border));
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.dark .footer {
    background: rgba(15, 23, 42, 0.5);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-main {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr 2fr;
    }
}

.footer-brand .logo {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: hsl(var(--muted-foreground));
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: hsl(var(--primary-color));
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
}

.edu-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.edu-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.edu-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.edu-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.edu-section-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.edu-flex-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.edu-flex-column {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
}

.edu-glass-card {
    border-radius: calc(var(--radius) + 4px);
    background: var(--card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: hsl(var(--card-foreground));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.edu-glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.edu-card-content {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.edu-icon-container {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        hsl(var(--primary-color)) 0%, 
        hsl(var(--primary-dark)) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.edu-icon-container:hover {
    transform: translateY(-2px) scale(1.05);
}

.edu-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}

.edu-card-institution {
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.edu-card-date {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.edu-card-description {
    margin-top: auto;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Compact Footer */

.footer-content {
    display: flex;
    justify-content: center;
}

.footer-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand .logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: hsl(var(--primary-color));
}

.footer-tagline {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.footer-links-compact {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-links-compact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: calc(var(--radius));
    background: hsl(var(--primary-color) / 0.1);
    color: hsl(var(--primary-color));
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.footer-links-compact a:hover {
    background: hsl(var(--primary-color));
    color: white;
    transform: translateY(-1px);
}

.footer-copyright {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-compact {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-links-compact {
        order: -1; /* Move links to top on mobile */
    }
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.logo img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Dark Mode - Color Inversion */
.dark .logo img {
    filter: 
        invert(1) 
        hue-rotate(180deg) 
        brightness(1.2) 
        contrast(0.9)
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.dark .logo img {
    filter: 
        invert(0.9) 
        sepia(0.1) 
        hue-rotate(180deg) 
        saturate(1.2) 
        brightness(1.1)
        drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* Hover Effects */
.logo:hover {
    transform: translateY(-1px);
}

.logo:hover img {
    transform: scale(1.05);
    filter: 
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15))
        brightness(1.1);
}

.dark .logo:hover img {
    filter: 
        invert(1) 
        hue-rotate(180deg) 
        brightness(1.3) 
        contrast(0.9)
        drop-shadow(0 4px 12px hsl(var(--primary-color) / 0.3));
}

/* Glassmorphism */
.nav-brand .logo {
    padding: 0.5rem;
    border-radius: calc(var(--radius));
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid hsl(var(--border) / 0.3);
}

.dark .nav-brand .logo {
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-brand .logo:hover {
    background: hsl(var(--primary-color) / 0.1);
    border-color: hsl(var(--primary-color) / 0.1);
    box-shadow: 0 4px 12px hsl(var(--primary-color) / 0.2);
}

/* Responsive Sizes */
@media (max-width: 640px) {
    .logo img {
        height: 2rem;
    }
    
    .nav-brand .logo {
        padding: 0.375rem;
    }
}

@media (min-width: 1024px) {
    .logo img {
        height: 3rem;
    }
}

/* Animation for Logo Load */
@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.logo img {
    animation: logoReveal 0.6s ease-out forwards;
}

/* Focus States for Accessibility */
.logo:focus {
    outline: 2px solid hsl(var(--primary-color));
    outline-offset: 2px;
    border-radius: calc(var(--radius));
}

/* Active State */
.logo:active {
    transform: translateY(0) scale(0.98);
    transition: transform 0.1s ease;
}

/* Scroll Buttons */
.scroll-btn {
    position: fixed;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: linear-gradient(135deg, 
        hsl(var(--primary-color)) 0%, 
        hsl(var(--primary-dark)) 100%);
    color: white;
    border: 2px solid hsl(var(--primary-color) / 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        0 4px 16px hsl(var(--primary-color) / 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    z-index: 40;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.scroll-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 24px hsl(var(--primary-color) / 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.scroll-btn:active {
    transform: translateY(0) scale(0.95);
}

/* Scroll Down Button */
.scroll-down-btn {
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceDown 2s infinite;
}

.scroll-down-btn.visible {
    transform: translateX(-50%);
}

.scroll-down-btn:hover {
    transform: translateX(-50%) translateY(-2px) scale(1.05);
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* Back to Top Button */
.back-to-top-btn {
    bottom: 2rem;
    right: 2rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .scroll-down-btn {
        bottom: 1.5rem;
    }
    
    .back-to-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}