/* CSS DESIGN SYSTEM - TRẦN TRỌNG PHÚ CV (PREMIUM TECH DASHBOARD THEME) */

/* --- THIẾT LẬP CHỦ ĐỀ MÀU SẮC (THEME VARIABLES) --- */
:root {
    /* Mặc định - Dark Mode */
    --bg-color: #030712; /* Deep Space */
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    
    --primary: #818cf8; /* Indigo Glow */
    --primary-rgb: 129, 140, 248;
    --secondary: #22d3ee; /* Neon Cyan */
    --secondary-rgb: 34, 211, 238;
    --accent: #c084fc; /* Bright Purple */
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    --gradient-card: linear-gradient(135deg, rgba(17, 24, 39, 0.7) 0%, rgba(31, 41, 55, 0.5) 100%);
    
    --card-bg: rgba(17, 24, 39, 0.55);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.7);
    --card-hover-border: rgba(129, 140, 248, 0.3);
    
    --navbar-bg: rgba(3, 7, 18, 0.75);
    --navbar-border: rgba(255, 255, 255, 0.04);
    
    --blob-1-bg: rgba(129, 140, 248, 0.15);
    --blob-2-bg: rgba(34, 211, 238, 0.12);
    --blob-3-bg: rgba(192, 132, 252, 0.1);
    
    --toast-bg: rgba(17, 24, 39, 0.95);
    --toast-border: rgba(129, 140, 248, 0.5);
    --timeline-line: rgba(255, 255, 255, 0.08);
    --glow-opacity: 0.35;
}

:root.light-theme {
    /* Chuyển đổi - Light Mode */
    --bg-color: #f1f5f9;
    --text-color: #0f172a;
    --text-muted: #64748b;
    
    --primary: #4f46e5;
    --primary-rgb: 79, 70, 229;
    --secondary: #0891b2;
    --secondary-rgb: 8, 145, 178;
    --accent: #9333ea;
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.75) 100%);
    
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(79, 70, 229, 0.08);
    --card-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.12);
    --card-hover-border: rgba(79, 70, 229, 0.3);
    
    --navbar-bg: rgba(241, 245, 249, 0.85);
    --navbar-border: rgba(79, 70, 229, 0.06);
    
    --blob-1-bg: rgba(99, 102, 241, 0.08);
    --blob-2-bg: rgba(6, 182, 212, 0.08);
    --blob-3-bg: rgba(192, 132, 252, 0.05);
    
    --toast-bg: rgba(255, 255, 255, 0.98);
    --toast-border: rgba(79, 70, 229, 0.3);
    --timeline-line: rgba(79, 70, 229, 0.12);
    --glow-opacity: 0.15;
}

/* --- RESET & CẤU HÌNH CHUNG --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- LƯỚI NỀN CÔNG NGHỆ (TECH GRID PATTERN) --- */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    z-index: -2;
    pointer-events: none;
    transition: background-image 0.4s ease;
}

:root.light-theme .grid-overlay {
    background-image: 
        linear-gradient(to right, rgba(99, 102, 241, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.025) 1px, transparent 1px);
}

/* --- ĐỒ HỌA NỀN (BACKGROUND BLOBS) --- */
.blob-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    animation: pulseBlobs 16s infinite alternate ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    left: -150px;
    background: var(--blob-1-bg);
}

.blob-2 {
    width: 500px;
    height: 500px;
    bottom: 20%;
    right: -100px;
    background: var(--blob-2-bg);
    animation-delay: 3s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--blob-3-bg);
    animation-delay: 6s;
}

@keyframes pulseBlobs {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(80px, 40px) scale(1.15);
    }
    100% {
        transform: translate(-40px, -20px) scale(0.9);
    }
}

/* --- HIỆU ỨNG GLASSMORPHISM (GLASS CARDS) --- */
.glass-effect {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background-color: var(--navbar-bg);
    border-bottom: 1px solid var(--navbar-border);
}

.glass-card {
    background: var(--gradient-card);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.03),
        transparent
    );
    transition: 0.5s;
    pointer-events: none;
}

:root.light-theme .glass-card::after {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(79, 70, 229, 0.03),
        transparent
    );
}

.glass-card:hover::after {
    left: 100%;
    transition: 0.8s ease-in-out;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-hover-border);
    box-shadow: 0 20px 40px -15px rgba(var(--primary-rgb), 0.2);
}

/* --- THẺ PHÁT SÁNG CẬP NHẬT (CARD GLOW EFFECT) --- */
.card-glow {
    border-color: rgba(var(--primary-rgb), 0.2);
}

.card-glow:hover {
    border-color: rgba(var(--secondary-rgb), 0.5);
    box-shadow: 0 0 30px 0 rgba(var(--primary-rgb), var(--glow-opacity));
}

/* --- NAVIGATION BAR --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-logo span {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

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

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-btn {
    background: none;
    border: 1px solid var(--card-border);
    color: var(--text-color);
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.4rem;
    cursor: pointer;
}

/* --- MOBILE NAVIGATION DRAWER --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    z-index: 1002;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--card-border);
    border-bottom: none;
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mobile-link:hover {
    color: var(--primary);
    padding-left: 8px;
}

/* --- GENERAL SECTIONS & GRID --- */
.section {
    padding: 100px 0;
}

.section-alt {
    background-color: rgba(129, 140, 248, 0.015);
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- TEXT GRADIENT & ACCENTS --- */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-accent {
    color: var(--primary);
    font-weight: 600;
}

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

.icon-color {
    color: var(--secondary);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.25);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(var(--primary-rgb), 0.45);
    transform: translateY(-2px);
}

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

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

:root.light-theme .btn-secondary:hover {
    background: rgba(79, 70, 229, 0.04);
}

.btn-block {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e; /* Green active dot */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #22c55e;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 12px #22c55e;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 30px;
}

.hero-objective {
    padding: 24px;
    margin-bottom: 32px;
}

.hero-objective:hover {
    transform: none;
}

.objective-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-objective ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-objective li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hero-objective li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

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

/* --- HERO AVATAR CARD --- */
.hero-avatar-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-glow {
    position: absolute;
    width: 290px;
    height: 290px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.28;
    z-index: 1;
    animation: pulseGlow 5s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.15) rotate(180deg);
        opacity: 0.38;
    }
}

.avatar-card {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.avatar-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
}

.avatar-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.avatar-svg-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-info h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.avatar-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.about-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-icon {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.about-card h3 {
    font-size: 1.35rem;
}

.about-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-card li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.list-bullet {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* --- EXPERIENCE TIMELINE --- */
.timeline-container {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    width: 2px;
    height: 100%;
    background-color: var(--timeline-line);
}

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    top: 26px;
    left: -32px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--card-border);
    border: 4px solid var(--bg-color);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-marker.timeline-active {
    background: var(--gradient-primary);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.8);
}

.timeline-content {
    padding: 30px;
}

.timeline-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 16px;
}

.timeline-period {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--card-border);
}

.timeline-period.period-active {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-color: rgba(var(--primary-rgb), 0.25);
}

.timeline-role {
    font-size: 1.45rem;
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-body ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-body li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.list-icon {
    color: var(--primary);
    margin-top: 5px;
    flex-shrink: 0;
}

/* --- PROJECT FILTERS --- */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--gradient-card);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
    color: var(--text-color);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

/* --- PROJECTS SECTION --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dynamic Filter Classes */
.project-card.hide {
    display: none;
}

.project-header-bg {
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.project-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

.project-icon {
    font-size: 3.2rem;
    color: white;
    z-index: 2;
}

/* Gradients for Projects */
.gradient-1 {
    background: linear-gradient(135deg, #4f46e5 0%, #a855f7 100%);
}
.gradient-2 {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
}
.gradient-3 {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}
.gradient-4 {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.project-info-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 6px;
}

.project-name {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.project-role {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.project-objectives {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-objectives strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 6px;
}

.project-objectives ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-objectives li {
    position: relative;
    padding-left: 14px;
}

.project-objectives li::before {
    content: "▫";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
}

.tag-angular {
    background: rgba(221, 0, 49, 0.1);
    color: #dd0031;
    border: 1px solid rgba(221, 0, 49, 0.2);
}

.tag-net {
    background: rgba(81, 43, 212, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(81, 43, 212, 0.2);
}

.tag-db {
    background: rgba(242, 145, 0, 0.1);
    color: #fb923c;
    border: 1px solid rgba(242, 145, 0, 0.2);
}

.tag-oracle {
    background: rgba(248, 0, 0, 0.1);
    color: #f80000;
    border: 1px solid rgba(248, 0, 0, 0.2);
}

.tag-kotlin {
    background: rgba(127, 82, 255, 0.1);
    color: #9066ff;
    border: 1px solid rgba(127, 82, 255, 0.2);
}

/* --- SKILLS SECTION --- */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.skills-category {
    padding: 30px;
}

.skills-category h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
}

.skill-progress-bg {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

:root.light-theme .skill-progress-bg {
    background-color: rgba(0, 0, 0, 0.05);
}

.skill-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
}

.text-center-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-pill {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

:root.light-theme .skill-pill {
    background: rgba(0, 0, 0, 0.02);
}

.skill-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.04);
}

/* --- AWARDS & ACHIEVEMENTS --- */
.awards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.award-card {
    display: flex;
    gap: 24px;
    padding: 30px;
    align-items: flex-start;
}

.award-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(129, 140, 248, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.award-icon-main {
    font-size: 2rem;
}

.text-gold {
    color: #fbbf24;
}

.text-cyan {
    color: #22d3ee;
}

.award-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.award-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.award-details h3 {
    font-size: 1.35rem;
    line-height: 1.3;
}

.award-details h4 {
    font-size: 1rem;
    font-weight: 500;
}

.award-role {
    font-size: 0.9rem;
    color: var(--text-color);
}

.award-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.award-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
}

.award-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

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

.contact-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    position: relative;
}

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

.contact-item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item-text strong {
    font-size: 1.05rem;
}

.copy-btn {
    position: absolute;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    color: var(--primary);
    background-color: rgba(129, 140, 248, 0.08);
}

.contact-form-card {
    padding: 32px;
}

.contact-form-card h3 {
    font-size: 1.35rem;
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

:root.light-theme .form-group input,
:root.light-theme .form-group textarea {
    background: rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.18);
}

/* --- FOOTER --- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--card-border);
    background-color: rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content .social-links {
    display: flex;
    gap: 16px;
}

.footer-content .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-content .social-links a:hover {
    color: white;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* --- TOAST NOTIFICATION --- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--toast-bg);
    border: 1px solid var(--toast-border);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    z-index: 1100;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-objective {
        text-align: left;
    }
    
    .hero-avatar-container {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .award-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- MICRO ANIMATIONS --- */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards ease-out;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-scale-up {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-info .animate-slide-up:nth-child(2) {
    animation-delay: 0.15s;
}
.hero-info .animate-slide-up:nth-child(3) {
    animation-delay: 0.3s;
}
.hero-info .animate-slide-up:nth-child(4) {
    animation-delay: 0.45s;
}
.hero-info .animate-slide-up:nth-child(5) {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
