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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: white;
}



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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2d3561 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    animation: aiGlow 8s ease-in-out infinite alternate;
}



@keyframes aiGlow {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.05) rotate(2deg); }
}



.ai-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #60a5fa 0%, #3b82f6 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.8);
    animation: aiFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.particle:nth-child(2) { top: 65%; left: 15%; animation-delay: 1.5s; }
.particle:nth-child(3) { top: 35%; left: 85%; animation-delay: 3s; }
.particle:nth-child(4) { top: 85%; left: 75%; animation-delay: 4.5s; }
.particle:nth-child(5) { top: 25%; left: 65%; animation-delay: 6s; }
.particle:nth-child(6) { top: 45%; left: 25%; animation-delay: 1s; }
.particle:nth-child(7) { top: 75%; left: 45%; animation-delay: 2.5s; }
.particle:nth-child(8) { top: 55%; left: 90%; animation-delay: 4s; }
.particle:nth-child(9) { top: 10%; left: 50%; animation-delay: 5.5s; }
.particle:nth-child(10) { top: 90%; left: 20%; animation-delay: 7s; }

@keyframes aiFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
        box-shadow: 0 0 15px rgba(96, 165, 250, 0.8);
    }
    25% {
        transform: translateY(-30px) translateX(10px) scale(1.2);
        opacity: 1;
        box-shadow: 0 0 25px rgba(147, 51, 234, 0.9);
    }
    50% {
        transform: translateY(-15px) translateX(-10px) scale(0.8);
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
    }
    75% {
        transform: translateY(-25px) translateX(15px) scale(1.1);
        opacity: 0.9;
        box-shadow: 0 0 30px rgba(59, 130, 246, 1);
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

.animated-title {
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

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

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

.hero-subtitle {
    font-size: 1.5rem;
    color: #93c5fd;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
}

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

.hero-badges {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-badges img {
    height: 24px;
    filter: brightness(1.2) contrast(1.1);
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-badges img:hover {
    transform: scale(1.05);
    filter: brightness(1.3) contrast(1.2);
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.4);
}

.tech-stack {
    margin: 2rem 0;
    text-align: center;
}

.tech-stack h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tech-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-badges img {
    height: 28px;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.section-dark .tech-badges img {
    filter: brightness(1.3) contrast(1.2) saturate(1.1);
}

.tech-badges img:hover {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2) saturate(1.2);
}

.github-container {
    max-width: 900px;
    margin: 0 auto;
}

.github-profile-card {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.github-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(88, 166, 255, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.section-light .github-profile-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.section-light .github-profile-card::before {
    background: linear-gradient(45deg, transparent 30%, rgba(37, 99, 235, 0.03) 50%, transparent 70%);
}

.github-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #c9d1d9;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.github-header i {
    font-size: 1.5rem;
    color: #58a6ff;
    text-shadow: 0 0 10px rgba(88, 166, 255, 0.5);
}

.section-light .github-header {
    color: var(--text-primary);
}

.section-light .github-header i {
    color: var(--primary-color);
    text-shadow: none;
}

.github-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.github-stat-card {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.github-stat-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.github-stat-card img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(88, 166, 255, 0.3);
}

.section-light .github-stat-card img:hover {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.github-streak-card {
    display: flex;
    justify-content: center;
}

.github-streak-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.github-streak-card img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(88, 166, 255, 0.4);
}

.section-light .github-streak-card img:hover {
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
    .github-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .github-profile-card {
        padding: 1rem;
    }
}

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

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-dark .service-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: white;
}

.section-dark .service-card i {
    color: #60a5fa;
}

.section-dark .service-card h3 {
    color: #60a5fa;
}

.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

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

.experience-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

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

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

.experience-date {
    flex: 0 0 120px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: fit-content;
    margin: 0 2rem;
}

.experience-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.section-dark .experience-content {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: white;
}

.section-dark .experience-date {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #60a5fa;
}

.section-dark .experience-content h3 {
    color: #60a5fa;
}

.section-dark .experience-content h4,
.section-dark .experience-content li {
    color: #cbd5e1;
}

.experience-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience-content h4 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.experience-content ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.experience-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

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

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

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

/* Profile Card */
.profile-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    opacity: 0.1;
    z-index: 0;
}

.profile-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

.profile-card:hover::before {
    opacity: 0.15;
}



@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    border: 4px solid white;
    z-index: 5;
}

.profile-avatar::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 6s linear infinite;
}

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

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-info h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 5;
}

.profile-info p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 5;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.badge {
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.8), rgba(59, 130, 246, 0.9));
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(96, 165, 250, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.5);
    background: linear-gradient(45deg, rgba(96, 165, 250, 1), rgba(59, 130, 246, 1));
}

.resume-section {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.resume-badge {
    text-decoration: none;
    cursor: pointer;
}

.resume-badge:hover {
    text-decoration: none;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section > .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 10;
}



.section-dark {
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
}



.section-light {
    background: 
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-primary);
    position: relative;
}



.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.section-dark .section-title {
    color: #60a5fa;
}

.section-light .section-title {
    color: var(--primary-color);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

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

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.section-dark .highlight {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: white;
}

.section-dark .highlight i {
    color: #60a5fa;
}

.highlight i {
    font-size: 2rem;
    color: var(--primary-color);
}

.highlight h4 {
    margin-bottom: 0.5rem;
}

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

.patent-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.section-dark .patent-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: white;
}

.section-dark .patent-header h3 {
    color: #60a5fa;
}

.section-dark .patent-impact {
    color: #cbd5e1;
}

.section-dark .tech-tag {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.patent-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.patent-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.patent-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.patent-impact {
    margin: 1rem 0;
    color: var(--text-secondary);
}

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

.tech-tag {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.project-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.section-dark .project-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: white;
}

.section-dark .project-card h3 {
    color: #60a5fa;
}

.section-dark .stat-item {
    color: #cbd5e1;
}

.section-dark .project-link {
    color: #60a5fa;
}

.project-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-stats {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
}

.project-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.project-buttons .project-link {
    margin-top: 0;
}

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

.expertise-category {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.section-dark .expertise-category {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: white;
}

.section-dark .category-header i {
    color: #60a5fa;
}

.section-dark .category-header h3 {
    color: white;
}

.section-dark .expertise-list li {
    color: #cbd5e1;
    border-bottom-color: rgba(148, 163, 184, 0.2);
}

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

.category-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.category-header h3 {
    color: var(--text-primary);
}

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

.expertise-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.section-dark .achievement-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: white;
}

.section-dark .achievement-card h3 {
    color: #60a5fa;
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.achievement-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.section-dark .contact-content p {
    color: #cbd5e1;
}

.section-dark .contact-link {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #60a5fa;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .animated-title {
        animation: titleGlow 2s ease-in-out infinite alternate;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .patents-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        grid-template-columns: 1fr;
    }
    

}



/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.section > * {
    animation: fadeInUp 0.6s ease-out;
}