/* Windows 11 Fluent Design Portfolio - CSS */

/* CSS Variables */
:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --accent-blue: #0078D4;
    --accent-blue-hover: #1a86db;
    --accent-green: #00ff41;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-width: 320px;
    --nav-collapsed-width: 60px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    letter-spacing: 0.01em;
}

/* Headings use Poppins for more impact */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

/* Mica-like Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(0, 120, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 255, 65, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 120, 212, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation Toggle Button */
.nav-toggle {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 120, 212, 0.4);
}

.nav-toggle:hover {
    background: var(--accent-blue-hover);
    transform: scale(1.1);
}

.nav-toggle .toggle-arrow {
    color: white;
    font-size: 20px;
    transition: var(--transition);
}

.nav-toggle.active .toggle-arrow {
    transform: rotate(180deg);
}

/* Arc Navigation Panel - 3 Layer Structure */
.arc-nav {
    position: fixed;
    left: -550px;
    top: 0;
    height: 100vh;
    width: 550px;
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.arc-nav.active {
    left: 0;
}

/* Layer 1: Blue Arc with Dog */
.layer-dog {
    position: relative;
    width: 120px; /* if smaller than min-width, will be overridden */
    min-width: 220px;
    height: 95%;
    background: rgba(128, 128, 128, 0.312);
    border-radius: 50 50% 50% 50 ;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Dog Circle (white background) */
.dog-circle {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

/* Layer 2: Profile Option Button */
.profile-option {
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4DA8DA;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.profile-option:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.profile-option.active {
    background: #4DA8DA;
    color: white;
}

/* Translation Button Styles */
.translate-option {
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4DA8DA;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
}

.translate-option:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.translate-option.active {
    background: #4DA8DA;
    color: white;
}

/* Translation Dropdown Menu */
.translate-menu {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10;
    min-width: 150px;
}

.translate-menu.active {
    opacity: 1;
    visibility: visible;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
    font-family: inherit;
}

.lang-option:hover {
    background: rgba(0, 120, 212, 0.1);
}

.lang-option.selected {
    background: rgba(0, 120, 212, 0.15);
}

.lang-option.selected .lang-name {
    color: var(--accent-blue);
    font-weight: 600;
}

.lang-flag {
    width: 32px;
    height: 32px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0;
}

.lang-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--bg-primary);
}

/* Mobile Translation Toggle */
.mobile-translate-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid var(--glass-border);
    margin-top: 15px;
}

.mobile-lang-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--text-primary);
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    font-family: inherit;
}

.mobile-lang-btn:hover,
.mobile-lang-btn.active {
    background: var(--accent-blue);
    color: white;
}

.lang-divider {
    color: var(--text-muted);
}

/* Layer 3: Dark Menu Panel */
.layer-menu {
    position: absolute;
    left: 280px;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    height: 80%;
    background: linear-gradient(180deg, #2d3e50 0%, #1e2d3d 100%);
    border-radius: 0 40px 40px 0;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.4);
    z-index: 1;
    opacity: 0;
    transform: translateY(-50%) translateX(-30px);
    transition: var(--transition);
    pointer-events: none;
}

.layer-menu.active {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

/* Close Button */
.close-nav {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    z-index: 3;
}

.close-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Dog Mascot */
.dog-mascot {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dog-face {
    position: relative;
    width: 100px;
    height: 100px;
}

.dog-ears {
    position: absolute;
    width: 100%;
    top: -15px;
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
}

.ear {
    width: 30px;
    height: 40px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 50% 50% 40% 40%;
}

.left-ear {
    transform: rotate(-20deg);
}

.right-ear {
    transform: rotate(20deg);
}

.dog-head {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #D2691E 0%, #CD853F 50%, #DEB887 100%);
    border-radius: 50% 50% 45% 45%;
    box-shadow:
        inset 0 -10px 20px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

.dog-eyes {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
}

.eye {
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pupil {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 30% 30%, #4a4a4a, #1a1a1a);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.pupil::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
}

.dog-nose {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 15px;
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 50% 50% 45% 45%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dog-nose::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.dog-mouth {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 10px;
    border-bottom: 3px solid #8B4513;
    border-radius: 0 0 50% 50%;
}

.dog-tongue {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 18px;
    background: linear-gradient(180deg, #ff6b6b 0%, #ee5a5a 100%);
    border-radius: 40% 40% 50% 50%;
    animation: tongue-wag 2s ease-in-out infinite;
}

@keyframes tongue-wag {
    0%, 100% { transform: translateX(-50%) rotate(-5deg); }
    50% { transform: translateX(-50%) rotate(5deg); }
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    width: 100%;
    padding: 0;
}

.nav-menu li {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-link svg {
    opacity: 0.8;
    flex-shrink: 0;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover svg,
.nav-link.active svg {
    opacity: 1;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.mobile-dog-toggle {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(0, 120, 212, 0.4);
    transition: var(--transition);
}

.mobile-dog-toggle:hover {
    transform: translateX(-50%) scale(1.1);
}

.mini-dog {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-dog-face {
    position: relative;
    width: 40px;
    height: 35px;
}

.mini-ears {
    position: absolute;
    width: 100%;
    top: -8px;
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
}

.mini-ear {
    width: 12px;
    height: 15px;
    background: #8B4513;
    border-radius: 50% 50% 40% 40%;
}

.mini-ear.left { transform: rotate(-15deg); }
.mini-ear.right { transform: rotate(15deg); }

.mini-head {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #D2691E 0%, #DEB887 100%);
    border-radius: 50% 50% 45% 45%;
}

.mini-eyes {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.mini-eye {
    width: 8px;
    height: 8px;
    background: #1a1a1a;
    border-radius: 50%;
}

.mini-nose {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
}

.mobile-menu {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 90%;
    max-width: 400px;
    background: rgba(22, 27, 34, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 30px 30px 100px 100px;
    border: 1px solid var(--glass-border);
    padding: 30px 20px 50px;
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

.mobile-nav-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(0, 120, 212, 0.2);
    color: var(--accent-blue);
}

/* Main Content */
.main-content {
    margin-left: 0;
    padding: 0 20px;
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.arc-nav.active ~ .main-content,
body.nav-open .main-content {
    margin-left: 350px;
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    line-height: 1.2;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.profile-picture {
    width: 280px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 120, 212, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-picture:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 120, 212, 0.3);
}

.profile-picture svg {
    width: 100%;
    height: 100%;
}

.typing-text {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 25px;
    min-height: 1.2em;
    line-height: 1.1;
}

.typing-text::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--accent-blue);
}

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

.subtitle {
    font-size: 1.8rem;
    color: var(--accent-green);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.description {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 45px;
    line-height: 1.6;
}

.hero-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 25px 40px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.quick-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 120, 212, 0.1);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.2);
}

.card-icon {
    font-size: 2.5rem;
}

.card-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 120, 212, 0.3);
    box-shadow: 0 8px 32px rgba(0, 120, 212, 0.1);
}

/* About Section */
.about-card {
    max-width: 800px;
    margin: 0 auto;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.info-label {
    /* Shimmering gradient clipped to text + gentle float */
    font-size: 2.1rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--text-secondary) 0%, rgba(255,255,255,0.95) 50%, var(--text-secondary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* show gradient through text */
    display: inline-block;
    transform-origin: center;
    animation: labelShimmer 1s linear infinite, labelFloat 4s ease-in-out infinite;
}

.info-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-blue);
}

/* Animations for .info-label */
@keyframes labelShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes labelFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* Respect users' reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .info-label {
        animation: none !important;
        background: none;
        color: var(--text-secondary);
        -webkit-background-clip: initial;
        background-clip: initial;
    }
}

.expertise-list h3,
.mission h3 {
    color: var(--text-primary);
    margin-bottom: 18px;
    font-size: 1.4rem;
    font-weight: 600;
}

.expertise-list ul {
    list-style: none;
}

.expertise-list li {
    padding: 12px ;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.5;
}

.expertise-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.mission p {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.skill-card h3 {
    color: var(--text-primary);
    margin-bottom: 22px;
    font-size: 1.3rem;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.skill-info span:first-child {
    color: var(--text-primary);
}

.skill-info span:last-child {
    color: var(--accent-blue);
}

.skill-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    border-radius: 4px;
    width: 0;
    transition: width 1s ease-out;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(0, 120, 212, 0.15);
    color: var(--accent-blue);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(0, 120, 212, 0.3);
}

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

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(0, 120, 212, 0.05);
    border-radius: var(--border-radius-sm);
}

.cert-icon {
    font-size: 1.4rem;
}

.cert-item span:last-child {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.4;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-green));
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--accent-blue);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-blue);
}

.timeline-content {
    padding-left: 20px;
}

.timeline-date {
    color: var(--accent-green);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content h4 {
    color: var(--accent-blue);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 18px;
}

.timeline-content p,
.timeline-content li {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.timeline-content ul {
    list-style: none;
    padding-left: 20px;
}

.timeline-content li::before {
    content: '•';
    color: var(--accent-blue);
    margin-right: 10px;
}

.coursework {
    font-size: 1rem !important;
    color: var(--text-muted) !important;
}

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

.project-card {
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 22px;
    flex-grow: 1;
    line-height: 1.6;
}

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

.tech-tag {
    background: rgba(0, 255, 65, 0.1);
    color: var(--accent-green);
    padding: 7px 14px;
    border-radius: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

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

.project-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--accent-blue-hover);
    text-decoration: underline;
}

/* Publications Section */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.publication-card {
    position: relative;
    padding-left: 100px;
}

.pub-year {
    position: absolute;
    left: 10px;
    top: 5.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.publication-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pub-venue {
    color: var(--accent-green);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.publication-card > p:last-of-type {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.pub-links {
    display: flex;
    gap: 20px;
}

.pub-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: var(--transition);
}

.pub-link:hover {
    text-decoration: underline;
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.award-card {
    text-align: center;
}

.award-emoji {
    font-size: 3.5rem;
    margin-bottom: 18px;
}

.award-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.award-org {
    color: var(--accent-blue);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.award-card > p:last-child {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.5;
}

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

.contact-card h3,
.reference-card h3 {
    color: var(--text-primary);
    margin-bottom: 28px;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 120, 212, 0.1);
    border-radius: 50%;
}

.contact-item a,
.contact-item span {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: var(--accent-blue);
}

.reference-info h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.reference-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.reference-info a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.reference-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
}

.footer p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Scroll Animations */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .arc-nav.active ~ .main-content,
    body.nav-open .main-content {
        margin-left: 0;
    }

    .section {
        padding: 60px 30px;
    }

    .typing-text {
        font-size: 3.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .arc-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .main-content {
        margin-left: 0 !important;
        padding-bottom: 100px;
    }

    .section {
        padding: 40px 20px;
        min-height: auto;
    }

    .hero-section {
        padding-top: 60px;
        min-height: 100vh;
    }

    .profile-picture {
        width: 200px;
        height: 230px;
    }

    .typing-text {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .description {
        font-size: 1.15rem;
    }

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

    .quick-card {
        width: 100%;
        max-width: 280px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .project-card h3,
    .publication-card h3 {
        font-size: 1.15rem;
    }

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

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

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

    .publication-card {
        padding-left: 20px;
    }

    .pub-year {
        position: static;
        margin-bottom: 10px;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-marker {
        left: -28px;
        width: 12px;
        height: 12px;
    }

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

@media (max-width: 480px) {
    .typing-text {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .glass-card {
        padding: 20px;
    }

    .mobile-nav-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .mobile-nav-link {
        padding: 12px 5px;
        font-size: 13px;
        font-weight: 500;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content p,
    .timeline-content li {
        font-size: 1rem;
    }

    .project-card p,
    .publication-card > p:last-of-type {
        font-size: 1rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Background Gradients */

