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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* Dark Theme Variables */
.dark-theme {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-primary-rgb: 59, 130, 246;
    --accent-secondary: #8b5cf6;
    --accent-secondary-rgb: 139, 92, 246;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --accent-success: #10b981;
    --accent-success-rgb: 16, 185, 129;
    --border-color: #475569;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1rem;
}

.logo-text {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-primary);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(var(--accent-primary-rgb), 0.3);
    border-radius: 50%;
    animation: float 10s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 8s infinite ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--accent-primary-rgb), 0.3) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-secondary-rgb), 0.2) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    animation-delay: 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-greeting {
    font-size: 1.125rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
}

.name-mason {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.name-kim {
    color: var(--text-primary);
    display: block;
}

.hero-korean {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 500px;
}

.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.keyword {
    padding: 0.5rem 1rem;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
    border-radius: 2rem;
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.keyword:hover {
    background: rgba(var(--accent-primary-rgb), 0.2);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(var(--accent-primary-rgb), 0.3);
}

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

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

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

.hero-visual {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

.avatar-container {
    position: relative;
    text-align: center;
}

.avatar {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.2), rgba(var(--accent-secondary-rgb), 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(var(--accent-primary-rgb), 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
    animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--accent-primary-rgb), 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(var(--accent-primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-primary-rgb), 0);
    }
}

.avatar-image {
    width: 120px;
    height: 120px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    z-index: 10;
    position: relative;
}

.tech-icons {
    position: absolute;
    inset: 0;
    animation: rotate 20s infinite linear;
}

.tech-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.tech-icon:nth-child(1) { top: 20px; left: 80px; }
.tech-icon:nth-child(2) { top: 80px; right: 20px; }
.tech-icon:nth-child(3) { bottom: 80px; left: 20px; }
.tech-icon:nth-child(4) { bottom: 20px; right: 80px; }

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

.avatar-info {
    color: var(--text-secondary);
}

.avatar-info p:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--accent-primary);
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

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

.section-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.1) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out;
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.info-list,
.career-info {
    space: 1rem 0;
}

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

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

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.career-item {
    margin-bottom: 1.5rem;
}

.career-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.interest-tags span {
    padding: 0.25rem 0.75rem;
    background: rgba(var(--accent-primary-rgb), 0.1);
    color: var(--accent-primary);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.education-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.institution {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.education-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.research-areas h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 0.875rem;
}

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

.research-tags span {
    padding: 0.25rem 0.75rem;
    background: rgba(var(--accent-primary-rgb), 0.1);
    color: var(--accent-primary);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(var(--accent-primary-rgb), 0.2);
}

/* Skills Section */
.skills {
    background: var(--bg-primary);
}

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

.skill-category {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out;
}

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

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.skill-list {
    space: 1.5rem 0;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.skill-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-radius: 4px;
    margin: 0 1rem;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease-out;
}

.skill-level {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 600;
    min-width: 35px;
}

/* Experience Section */
.experience {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.1) 100%);
}

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

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent-gradient);
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow);
}

.timeline-content {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
    animation: slideInLeft 0.8s ease-out;
}

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

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

.timeline-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.timeline-period {
    background: rgba(var(--accent-primary-rgb), 0.1);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.timeline-company {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

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

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

.timeline-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.responsibilities h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.responsibilities ul {
    list-style: none;
    space: 0.75rem 0;
}

.responsibilities li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.responsibilities li::before {
    content: '•';
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1rem;
}

/* Featured Project */
.featured-project {
    margin-bottom: 4rem;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-icon {
    font-size: 2rem;
}

.project-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.project-card {
    background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.05), rgba(var(--accent-secondary-rgb), 0.05));
    border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
    border-radius: 1rem;
    padding: 2rem;
    animation: slideInUp 0.8s ease-out;
}

.project-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.achievements {
    margin: 1.5rem 0;
}

.achievements h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.achievements ul {
    list-style: none;
}

.achievements li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.achievements li::before {
    content: '•';
    color: var(--accent-success);
    font-weight: bold;
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tag {
    padding: 0.375rem 0.875rem;
    background: rgba(var(--accent-primary-rgb), 0.1);
    border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
    color: var(--accent-primary);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Filters Bar */
.filters-bar {
    margin: 1rem 0 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1rem;
}
.filters-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}
.filter-group { display: flex; flex-direction: column; }
.filter-group label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.filters-bar input[type="text"],
.filters-bar input[type="month"],
.filters-bar select {
    background: rgba(0,0,0,0.2);
    color: #e7eaf0;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    outline: none;
}
.filters-bar .btn { width: 100%; }
@media (max-width: 960px) {
  .filters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .filters-grid { grid-template-columns: 1fr; }
}

/* Mobile-friendly sizing for Projects section */
@media (max-width: 520px) {
  /* Filters: bigger touch targets and text */
  .filters-bar { padding: 1rem; }
  .filter-group label { font-size: 0.95rem; }
  .filters-bar input[type="text"],
  .filters-bar input[type="month"],
  .filters-bar select {
    font-size: 1rem;
    padding: 0.75rem 0.9rem;
    min-height: 44px;
  }
  .filters-bar .btn {
    font-size: 1rem;
    padding: 0.9rem 1rem;
    min-height: 44px;
  }

  /* Project cards: increase readability */
  #projects .projects-grid { gap: 1.25rem; }
  #projects .project-card { padding: 1.5rem; }
  #projects .project-header h3 { font-size: 1.75rem; line-height: 1.2; }
  #projects .project-period { font-size: 0.95rem; }
  #projects .project-description { font-size: 1rem; line-height: 1.7; }
  #projects .tech-tag { font-size: 0.9rem; padding: 0.5rem 1rem; }
  #projects .view-details { font-size: 1rem; padding: 0.9rem 1.25rem; }
}

/* Smaller phones */
@media (max-width: 400px) {
  #projects .project-header h3 { font-size: 1.6rem; }
  #projects .project-card { padding: 1.25rem; }
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}

.project-card:hover .view-details {
    background: var(--accent-primary);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
}

.project-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.view-details {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.view-details:hover::before {
    left: 100%;
}

.view-details:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(var(--accent-primary-rgb), 0.3);
}

/* Leadership */
.leadership {
    margin-bottom: 4rem;
}

.leadership-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.leadership-icon {
    font-size: 2rem;
}

.leadership-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.leadership-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out;
}

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

.leadership-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.leadership-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.workshop-count {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.workshop-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.workshop-topics span {
    padding: 0.25rem 0.75rem;
    background: rgba(var(--accent-primary-rgb), 0.1);
    color: var(--accent-primary);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Certifications Section */
.certifications {
    background: linear-gradient(135deg, rgba(var(--accent-secondary-rgb), 0.05), rgba(236, 72, 153, 0.05));
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.cert-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out;
}

.cert-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
    cursor: pointer;
}

.cert-details {
    margin: 1rem 0;
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cert-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cert-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.cert-view-btn:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.cert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.cert-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cert-issuer {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cert-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--accent-success-rgb), 0.1);
    color: var(--accent-success);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.learning-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.05), rgba(var(--accent-secondary-rgb), 0.05));
    border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out;
}

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

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.highlight-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease-out;
}

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

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.contact-btn:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.social-links {
    text-align: center;
    margin-bottom: 4rem;
}

.social-links h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}

.social-icon {
    font-size: 3rem;
}

.social-link span {
    font-weight: 600;
    font-size: 1.125rem;
}

.cta-section {
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, rgba(var(--accent-primary-rgb), 0.05), rgba(var(--accent-secondary-rgb), 0.05));
    border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
    border-radius: 1rem;
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Certifications Section */
.certifications {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-primary);
}

.cert-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    letter-spacing: 0.5px;
}

.cert-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
}

.cert-validity {
    font-size: 0.8rem;
    color: var(--accent-success);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.footer-links a:hover {
    color: var(--accent-primary);
}

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

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .avatar {
        width: 250px;
        height: 250px;
    }
    
    .avatar-image {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-name {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    .hero-keywords {
        justify-content: center;
    }
    
    .avatar {
        width: 200px;
        height: 200px;
    }
    
    .avatar-image {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .tech-icon {
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
}

/* Certificate Modal */
.cert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.cert-modal.active {
    display: flex;
}

.cert-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-hover);
}

.cert-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cert-modal-close:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.cert-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
}

/* Jump Navigation */
.jump-nav {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(51, 65, 85, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: 1rem 0.5rem;
    border: 1px solid var(--border-color);
}

.jump-nav-item {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.5);
    margin: 0.5rem auto;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.jump-nav-item.active {
    background: var(--accent-primary);
    transform: scale(1.3);
}

.jump-nav-item:hover {
    background: var(--accent-primary);
    transform: scale(1.2);
}

.jump-nav-item::before {
    content: attr(data-section);
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.jump-nav-item:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Utility Classes */
.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Smooth Scroll Offset for Fixed Nav */
html {
    scroll-padding-top: 90px;
} 

/* About Section */
.about {
        min-height: 70vh;
        display: flex;
        align-items: center;
        padding: 120px 0 60px;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.about-content {
        text-align: center;
}

.about-text h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        background: var(--accent-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
}

.about-role {
        font-size: 1.25rem;
        color: var(--text-secondary);
        margin-bottom: 1rem;
}

.about-description {
        max-width: 600px;
        margin: 0 auto 2rem;
        color: var(--text-muted);
        line-height: 1.8;
}

.about-highlights {
        display: flex;
        justify-content: center;
        gap: 3rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
}

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

.highlight-value {
        display: block;
        font-size: 2rem;
        font-weight: 700;
        color: var(--accent-primary);
}

.highlight-label {
        font-size: 0.875rem;
        color: var(--text-muted);
}

.about-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
}

.about-links .btn {
        padding: 0.75rem 2rem;
        border-radius: 8px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
}

.about-links .btn-primary {
        background: var(--accent-gradient);
        color: white;
}

.about-links .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(var(--accent-primary-rgb), 0.3);
}

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

.about-links .btn-secondary:hover {
        border-color: var(--accent-primary);
        color: var(--accent-primary);
}

@media (max-width: 768px) {
        .about-text h1 {
                    font-size: 2rem;
        }

    .about-highlights {
                gap: 1.5rem;
    }

    .highlight-value {
                font-size: 1.5rem;
    }
}
